https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107458
--- Comment #4 from Andrew Pinski ---
The C++ standard defines fma as doing (a*b) + c in infinite precision (and then
round), this is why GCC cannot inline if your target does not have a FMA
instruction.
There is still no bug here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107458
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107458
--- Comment #2 from Andrew Pinski ---
fmaf80_manually, fmaf64_manually, and fmaf32_manually are not exactly fma.
at least for x86-64-v2 due not doing the add before the rounding of the
multiply.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107458
--- Comment #1 from Andrew Pinski ---
Created attachment 53790
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53790&action=edit
testcase -march=x86-64-v2 -O3 -std=c++20 -Wall -mno-vzeroupper
Please attach the testcase next time instead of