Hello! This patch documents a little gcc secret...
2017-02-23 Uros Bizjak <ubiz...@gmail.com> * doc/invoke.texi (x86 Options, -mfpmath=sse): Mention that -mfpmath=sse is the default also for x86-32 targets with SSE2 instruction set when @option{-ffast-math} is enabled Bootstrapped on x86_64-linux-gnu. Uros.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 6e5fa56..9640b1b 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -24591,7 +24591,7 @@ 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 @option{-ffloat-store} for more detailed description. -This is the default choice for x86-32 targets. +This is the default choice for most of x86-32 targets. @item sse Use scalar floating-point instructions present in the SSE instruction set. @@ -24611,7 +24611,8 @@ The resulting code should be considerably faster in the majority of cases and av the numerical instability problems of 387 code, but may break some existing code that expects temporaries to be 80 bits. -This is the default choice for the x86-64 compiler. +This is the default choice for the x86-64 compiler, and the default choice for +x86-32 targets with SSE2 instruction set when @option{-ffast-math} is enabled. @item sse,387 @itemx sse+387