Closed Bug 1212861 Opened 10 years ago Closed 7 years ago

SIMD: Implement the behavior of MaybeFlushDenormal

Categories

(Core :: JavaScript Engine: JIT, defect, P5)

defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bbouvier, Unassigned)

Details

MaybeFlushDenormal is defined there: http://tc39.github.io/ecmascript_simd/#maybe-flush-denormal On NEON (SIMD under ARM), denormals are flushed to zero, and we don't get to get a choice. To be consistent, the interpreter needs to flush to zero as well, in this case. On x86, we don't have this issue. I don't know if this is an issue on MIPS as well. There are two ways of fixing this: - either implement a platform-specific MaybeFlushDenormal that's called in the interpreter in the different functions, - or, and this is more a crazy random idea, have a self-hosted implementation of SIMD that would be done in asm.js. That would ensure the interpreter has the same exact behavior as the platform, at least. But it means that we need a JIT backend for all platforms, which includes ARM, ARM64 (and MIPS).
Priority: -- → P5
SIMD.js is being removed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.