Re:John Gustafson’s crusade to replace floating point with s...
by hrydgard on Tuesday July 09, 2019 @02:59AM
(#20389567)
Compilers now exclusively target the SSE registers (with scalar SSE instructions like mulss), and they did 7 years ago too.
[ Parent
| on HN ]
Re:John Gustafson’s crusade to replace floating point with s...
by account42 on Tuesday July 09, 2019 @07:08AM
(#20390625)
https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
-mfpmath=unit
Generate floating-point arithmetic for selected unit unit. The choices for unit are:
‘387’
Use the standard 387 floating-point coprocessor present on the majority of chips and emulated otherwise. Code compiled with this option runs almost everywhere. The temporary results are computed in 80-bit precision instead of the precision specified by the type, resulting in slightly different results compared to most of other chips. See -ffloat-store for more detailed description.
This is the default choice for non-Darwin x86-32 targets.