aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2007-12-02 09:26:09 +0000
committerSamuel Tardieu <sam@gcc.gnu.org>2007-12-02 09:26:09 +0000
commit083f0d3a045f1b42496ca57beb79d001b09f5354 (patch)
treed708e44bb9c2c1d7d8fb2af17dd9b9dbe3255f41
parentb9d4915c0fa346a17ac989047c38ad0ee4a725ed (diff)
downloadgcc-083f0d3a045f1b42496ca57beb79d001b09f5354.zip
gcc-083f0d3a045f1b42496ca57beb79d001b09f5354.tar.gz
gcc-083f0d3a045f1b42496ca57beb79d001b09f5354.tar.bz2
sh.md (cmpgeusi_t): Fix condition.
gcc/ * config/sh/sh.md (cmpgeusi_t): Fix condition. From-SVN: r130566
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/sh/sh.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 01d6da8..04d754b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-02 Samuel Tardieu <sam@rfc1149.net>
+
+ * config/sh/sh.md (cmpgeusi_t): Fix condition.
+
2007-11-30 Jan Hubicka <jh@suse.cz>
* ggc-common.c (dump_ggc_loc_statistics): Reset ggc_force_collect
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 00221cc..d7e2727 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -648,7 +648,7 @@
(match_operand:SI 1 "arith_reg_or_0_operand" "rN")))]
"TARGET_SH1"
"cmp/hs %1,%0"
- "&& operands[0] == CONST0_RTX (SImode)"
+ "&& operands[1] == CONST0_RTX (SImode)"
[(pc)]
"
{