aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2002-12-25 01:30:41 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-12-25 01:30:41 +0000
commit871d6a01c3944b34858fe6c33018e5fa85e3e9ca (patch)
tree886eebf356289145b0b9d12a2efa19a094599de4
parent315fa0f4a93decc4823498193c6f1e0c7910348a (diff)
downloadgcc-871d6a01c3944b34858fe6c33018e5fa85e3e9ca.zip
gcc-871d6a01c3944b34858fe6c33018e5fa85e3e9ca.tar.gz
gcc-871d6a01c3944b34858fe6c33018e5fa85e3e9ca.tar.bz2
h8300.md (two peepholes): Use match_dup instead of match_operand in the new patterns.
* config/h8300/h8300.md (two peepholes): Use match_dup instead of match_operand in the new patterns. From-SVN: r60488
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7309859..e427f0f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-12-24 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/h8300.md (two peepholes): Use match_dup instead
+ of match_operand in the new patterns.
+
2002-12-24 Joseph S. Myers <jsm@polyomino.org.uk>
* doc/include/texinfo.tex: Update to version 2002-11-25.11.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index 9752f0f..39805fb 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -2928,7 +2928,7 @@
(match_dup 0))
(set (pc)
(if_then_else (match_op_dup 3 [(cc0) (const_int 0)])
- (label_ref (match_operand 2 "" ""))
+ (label_ref (match_dup 2))
(pc)))]
"operands[1] = GEN_INT (- INTVAL (operands[1]));
split_adds_subs (HImode, operands, 1);")
@@ -2950,7 +2950,7 @@
(match_dup 0))
(set (pc)
(if_then_else (match_op_dup 3 [(cc0) (const_int 0)])
- (label_ref (match_operand 2 "" ""))
+ (label_ref (match_dup 2))
(pc)))]
"operands[1] = GEN_INT (- INTVAL (operands[1]));
split_adds_subs (SImode, operands, 1);")