aboutsummaryrefslogtreecommitdiff
path: root/gcc/jump.c
diff options
context:
space:
mode:
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 f6f524e..6fc4deb 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