https://issues.dlang.org/show_bug.cgi?id=15873

ponce <alil...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alil...@gmail.com

--- Comment #5 from ponce <alil...@gmail.com> ---
Could DMD also generate SSE code for 32-bit targets (easily)? SSE2 is very
common.

I see two main advantages:

- it can also avoid some divergence in results between 32-bit and 64-bit
related to the unexpected higher precision of FPU operations. Using the FPU you
might think that floats are sufficient for one task when they aren't, because
they were promoted to 80-bit float internally.

- avoiding denormals. It is a recurring concern in audio code though not that
bad.

MSVC generates SSE2 in 32-bit by default I think.

--

Reply via email to