Commit 5d0cab94 by Kazu Hirata Committed by Kazu Hirata

* jump.c: Fix formatting.

From-SVN: r44846
parent 7ba7767b
2001-08-13 Kazu Hirata <kazu@hxi.com> 2001-08-13 Kazu Hirata <kazu@hxi.com>
* jump.c: Fix formatting.
2001-08-13 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (zero_extendqihi2): Correct the insn * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
length. length.
......
...@@ -653,40 +653,40 @@ reversed_comparison_code_parts (code, arg0, arg1, insn) ...@@ -653,40 +653,40 @@ reversed_comparison_code_parts (code, arg0, arg1, insn)
&& REVERSIBLE_CC_MODE (mode)) && REVERSIBLE_CC_MODE (mode))
{ {
#ifdef REVERSE_CONDITION #ifdef REVERSE_CONDITION
return REVERSE_CONDITION (code, mode); return REVERSE_CONDITION (code, mode);
#endif #endif
return reverse_condition (code); return reverse_condition (code);
} }
#endif #endif
/* Try a few special cases based on the comparison code. */ /* Try a few special cases based on the comparison code. */
switch (code) switch (code)
{ {
case GEU: case GEU:
case GTU: case GTU:
case LEU: case LEU:
case LTU: case LTU:
case NE: case NE:
case EQ: case EQ:
/* It is always safe to reverse EQ and NE, even for the floating /* It is always safe to reverse EQ and NE, even for the floating
point. Similary the unsigned comparisons are never used for point. Similary the unsigned comparisons are never used for
floating point so we can reverse them in the default way. */ floating point so we can reverse them in the default way. */
return reverse_condition (code); return reverse_condition (code);
case ORDERED: case ORDERED:
case UNORDERED: case UNORDERED:
case LTGT: case LTGT:
case UNEQ: case UNEQ:
/* In case we already see unordered comparison, we can be sure to /* In case we already see unordered comparison, we can be sure to
be dealing with floating point so we don't need any more tests. */ be dealing with floating point so we don't need any more tests. */
return reverse_condition_maybe_unordered (code); return reverse_condition_maybe_unordered (code);
case UNLT: case UNLT:
case UNLE: case UNLE:
case UNGT: case UNGT:
case UNGE: case UNGE:
/* We don't have safe way to reverse these yet. */ /* We don't have safe way to reverse these yet. */
return UNKNOWN; return UNKNOWN;
default: default:
break; break;
} }
/* In case we give up IEEE compatibility, all comparisons are reversible. */ /* In case we give up IEEE compatibility, all comparisons are reversible. */
......
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