[Bug c++/92597] std::fma gives nan using -march=sandybridge+ with asm volatile
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Nov 20 15:15:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92597
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #1 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
Testcase isolating what appears to be the biggest issue in the original:
double f()
{
double d=-1;
asm("" : "+m,r"(d));
return d;
}
long double g()
{
long double d=-1;
asm("" : "+m,r"(d));
return d;
}
More information about the Gcc-bugs
mailing list