summaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
authorJeffrey Oldham <oldham@codesourcery.com>2001-03-12 19:11:39 +0000
committerJeffrey D. Oldham <oldham@gcc.gnu.org>2001-03-12 19:11:39 +0000
commit23712c118ddef30ff8a132bcb3c0b63e5a85eb05 (patch)
tree989c4cb696a86f022eb722316ced21414cb1541e /gcc/jump.c
parente8ea2809d0dd85f1a235ba868897da51b79fca64 (diff)
downloadgcc-23712c118ddef30ff8a132bcb3c0b63e5a85eb05.tar.gz
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/jump.c')
-rw-r--r--gcc/jump.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/gcc/jump.c b/gcc/jump.c
index f6f524e5e33..6fc4deb10f9 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -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