diff options
author | Jeffrey Oldham <oldham@codesourcery.com> | 2001-03-12 19:11:39 +0000 |
---|---|---|
committer | Jeffrey D. Oldham <oldham@gcc.gnu.org> | 2001-03-12 19:11:39 +0000 |
commit | 23712c118ddef30ff8a132bcb3c0b63e5a85eb05 (patch) | |
tree | 989c4cb696a86f022eb722316ced21414cb1541e /gcc | |
parent | e8ea2809d0dd85f1a235ba868897da51b79fca64 (diff) | |
download | gcc-23712c118ddef30ff8a132bcb3c0b63e5a85eb05.zip gcc-23712c118ddef30ff8a132bcb3c0b63e5a85eb05.tar.gz gcc-23712c118ddef30ff8a132bcb3c0b63e5a85eb05.tar.bz2 |
jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's 2001-02-28 patch because it breaks arm-linux and...
2001-03-12 Jeffrey Oldham <oldham@codesourcery.com>
* jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's
2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5.
From-SVN: r40421
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/jump.c | 12 |
2 files changed, 6 insertions, 11 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ea73863..439959a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2001-03-12 Jeffrey Oldham <oldham@codesourcery.com> + + * jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's + 2001-02-28 patch because it breaks arm-linux and mips-sgi-irix6.5. + Mon Mar 12 14:05:32 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * flow.c (insn_dead_p): Don't consider two memrefs equivalent @@ -1782,11 +1782,7 @@ reversed_comparison_code_parts (code, arg0, arg1, insn) case UNLE: case UNGT: case UNGE: - /* We don't have safe way to reverse these yet - we would need - ordered compares that may not trap. */ - if (TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT - || flag_unsafe_math_optimizations) - return reverse_condition_maybe_unordered (code); + /* We don't have safe way to reverse these yet. */ return UNKNOWN; default: break; @@ -1845,12 +1841,6 @@ reversed_comparison_code_parts (code, arg0, arg1, insn) } } - /* In case of floating point modes, we may reverse here, since - we will be always converting an ordered compare to unordered. - The unsafe code has been caught earlier. */ - if (FLOAT_MODE_P (mode)) - return reverse_condition_maybe_unordered (code); - /* An integer condition. */ if (GET_CODE (arg0) == CONST_INT || (GET_MODE (arg0) != VOIDmode |