re PR target/52451 (gcc w/i387 float generates fucom rather than fcom for floating...
authorUros Bizjak <uros@gcc.gnu.org>
Sun, 22 Oct 2017 19:04:36 +0000 (21:04 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 22 Oct 2017 19:04:36 +0000 (21:04 +0200)
commitef1e3836710e20fb399a72bda0bde0ba7a616078
treeff83c9821390142425f94e78aafccdfa4adb10a9
parent8cc857f9490dd71c311b529c4284f54a597e97bd
re PR target/52451 (gcc w/i387 float generates fucom rather than fcom for floating point comparsons)

PR target/52451
* config/i386/i386.c (ix86_fp_compare_mode): Return CCFPmode
for ordered inequality comparisons even with TARGET_IEEE_FP.

testsuite/ChangeLog:

PR target/52451
* gcc.dg/torture/pr52451.c: New test.

From-SVN: r253986
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr52451.c [new file with mode: 0644]