[Bug target/127177] __builtin_isinf vectorization incorrectly signals FE_INVALID
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 1 14:57:14 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127177
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> ---
Why integer-compare? Floating-point equality check does not raise "invalid"
with qNaN inputs, so why not set (or clear) the sign bit and then
compare-equals against negative (or positive, respectively) infinity?
(which is what Clang does)
More information about the Gcc-bugs
mailing list