[Bug target/98124] Z: Load and test LTDBR instruction gets not used for comparison against 0.0

2020-12-03 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98124

--- Comment #2 from Andreas Krebbel  ---
(In reply to Andreas Krebbel from comment #1)
> LTDBR turns SNaNs into QNaNs and that's not supposed to happen in your
> testcase. We emit LTDBR only with -fno-trapping-math

... or if the result of LTDBR isn't used.

[Bug target/98124] Z: Load and test LTDBR instruction gets not used for comparison against 0.0

2020-12-03 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98124

Andreas Krebbel  changed:

   What|Removed |Added

 CC||krebbel at gcc dot gnu.org
 Resolution|--- |INVALID
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Andreas Krebbel  ---
LTDBR turns SNaNs into QNaNs and that's not supposed to happen in your
testcase. We emit LTDBR only with -fno-trapping-math