aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2001-08-13 08:27:08 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2001-08-13 08:27:08 +0000
commit5d0cab94d002075eb728ac5d6ce3a9eeb09b1f90 (patch)
tree1ce1321ac3b9c93d610003f06c507e1989c48d8d /gcc
parent7ba7767b1c013a98e5007119c38d2e7415ad1eb9 (diff)
downloadgcc-5d0cab94d002075eb728ac5d6ce3a9eeb09b1f90.zip
gcc-5d0cab94d002075eb728ac5d6ce3a9eeb09b1f90.tar.gz
gcc-5d0cab94d002075eb728ac5d6ce3a9eeb09b1f90.tar.bz2
* jump.c: Fix formatting.
From-SVN: r44846
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/jump.c56
2 files changed, 32 insertions, 28 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 23ec7c1..9fa0b62 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
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
length.
diff --git a/gcc/jump.c b/gcc/jump.c
index 9099c1f..0b62ab4 100644
--- a/gcc/jump.c
+++ b/gcc/jump.c
@@ -653,40 +653,40 @@ reversed_comparison_code_parts (code, arg0, arg1, insn)
&& REVERSIBLE_CC_MODE (mode))
{
#ifdef REVERSE_CONDITION
- return REVERSE_CONDITION (code, mode);
+ return REVERSE_CONDITION (code, mode);
#endif
- return reverse_condition (code);
- }
+ return reverse_condition (code);
+ }
#endif
/* Try a few special cases based on the comparison code. */
switch (code)
{
- case GEU:
- case GTU:
- case LEU:
- case LTU:
- case NE:
- case EQ:
- /* It is always safe to reverse EQ and NE, even for the floating
- point. Similary the unsigned comparisons are never used for
- floating point so we can reverse them in the default way. */
- return reverse_condition (code);
- case ORDERED:
- case UNORDERED:
- case LTGT:
- case UNEQ:
- /* 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. */
- return reverse_condition_maybe_unordered (code);
- case UNLT:
- case UNLE:
- case UNGT:
- case UNGE:
- /* We don't have safe way to reverse these yet. */
- return UNKNOWN;
- default:
- break;
+ case GEU:
+ case GTU:
+ case LEU:
+ case LTU:
+ case NE:
+ case EQ:
+ /* It is always safe to reverse EQ and NE, even for the floating
+ point. Similary the unsigned comparisons are never used for
+ floating point so we can reverse them in the default way. */
+ return reverse_condition (code);
+ case ORDERED:
+ case UNORDERED:
+ case LTGT:
+ case UNEQ:
+ /* 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. */
+ return reverse_condition_maybe_unordered (code);
+ case UNLT:
+ case UNLE:
+ case UNGT:
+ case UNGE:
+ /* We don't have safe way to reverse these yet. */
+ return UNKNOWN;
+ default:
+ break;
}
/* In case we give up IEEE compatibility, all comparisons are reversible. */