Commit 23712c11 by Jeffrey Oldham Committed by Jeffrey D. Oldham

jump.c (reversed_comparison_code_parts): Reverse Jan Hubricka's 2001-02-28 patch…

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
parent e8ea2809
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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment