[Bug c/92875] GCC ignores the floating-point 'f' suffix in C11 mode

anders at wahrzeichnen dot de gcc-bugzilla@gcc.gnu.org
Mon Dec 9 22:49:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92875

--- Comment #4 from anders at wahrzeichnen dot de <anders at wahrzeichnen dot de> ---
I don't know about other archs, but on amd64, GCC emits comiss insns (SSE2
single-precision scalar compare) for f0, f1, and f2 and comisd insns (SSE2
double-precision scalar compare) for f3. So this is evidently not a problem on
amd64 (i.e. it does not depend on how the decimal-to-binary rounding was done
for the value 0.1). Conclusion: Ignoring the 'f' suffix seems to be specific
for 387.


More information about the Gcc-bugs mailing list