rs6000.c (validate_condition_mode): Use flag_finite_math_only.
authorGeoffrey Keating <geoffk@apple.com>
Mon, 5 May 2003 19:33:52 +0000 (19:33 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Mon, 5 May 2003 19:33:52 +0000 (19:33 +0000)
commitbc9ec0e06b4e074b2a5c75c21f8f7eefbdb88c8f
tree0e5be2a8db71f0d0635751e3cb960ed2c9c73e7b
parente3e9f1084699af912b12b5a63c64c72dc868854f
rs6000.c (validate_condition_mode): Use flag_finite_math_only.

2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* config/rs6000/rs6000.c (validate_condition_mode): Use
flag_finite_math_only.
(rs6000_reverse_condition): Never return UNKNOWN; use
flag_finite_math_only.
(rs6000_generate_compare): Use flag_finite_math_only.
(rs6000_emit_cmove): Handle UNLE.  Support UNEQ under -ffast-math.
Use HONOR_* rather than flag_unsafe_math_optimizations.  Correct
UNGE and GT cases.  Handle UNEQ and LTGT when ! HONOR_NANS.

Index: testsuite/ChangeLog
2003-05-05  Geoffrey Keating  <geoffk@apple.com>

* gcc.c-torture/execute/ieee/fp-cmp-8.c: New test.
* gcc.dg/ppc-fsel-2.c: New test.

From-SVN: r66499
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/ppc-fsel-2.c [new file with mode: 0644]