aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@hxi.com>2002-02-02 20:48:38 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2002-02-02 20:48:38 +0000
commiteceb175550b1d405787203d13883d10a27642a50 (patch)
tree89cedc2522ff67c9dc60a0342586316eb56fcf11
parent0fef3fd0eada944c2677ba0680393a12979f970f (diff)
downloadgcc-eceb175550b1d405787203d13883d10a27642a50.zip
gcc-eceb175550b1d405787203d13883d10a27642a50.tar.gz
gcc-eceb175550b1d405787203d13883d10a27642a50.tar.bz2
h8300.md (xor patterns): Tighten the predicates of operands[1] to register_operand.
* config/h8300/h8300.md (xor patterns): Tighten the predicates of operands[1] to register_operand. From-SVN: r49445
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/h8300.md6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5ad4904..96e4904 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2002-02-02 Kazu Hirata <kazu@hxi.com>
+
+ * config/h8300/h8300.md (xor patterns): Tighten the predicates
+ of operands[1] to register_operand.
+
2002-02-02 Neil Booth <neil@daikokuya.demon.co.uk>
* cpphash.h (struct spec_nodes): Remove n__CHAR_UNSIGNED__.
diff --git a/gcc/config/h8300/h8300.md b/gcc/config/h8300/h8300.md
index f67e22e..ba9b2d5 100644
--- a/gcc/config/h8300/h8300.md
+++ b/gcc/config/h8300/h8300.md
@@ -1222,14 +1222,14 @@
(define_expand "xorhi3"
[(set (match_operand:HI 0 "register_operand" "")
- (xor:HI (match_operand:HI 1 "general_operand" "")
+ (xor:HI (match_operand:HI 1 "register_operand" "")
(match_operand:HI 2 "nonmemory_operand" "")))]
""
"")
(define_insn ""
[(set (match_operand:HI 0 "register_operand" "=r,r")
- (xor:HI (match_operand:HI 1 "general_operand" "%0,0")
+ (xor:HI (match_operand:HI 1 "register_operand" "%0,0")
(match_operand:HI 2 "nonmemory_operand" "J,rn")))]
"TARGET_H8300"
"* return output_logical_op (HImode, XOR, operands);"
@@ -1238,7 +1238,7 @@
(define_insn ""
[(set (match_operand:HI 0 "register_operand" "=r,r,r")
- (xor:HI (match_operand:HI 1 "general_operand" "%0,0,0")
+ (xor:HI (match_operand:HI 1 "register_operand" "%0,0,0")
(match_operand:HI 2 "nonmemory_operand" "J,r,n")))]
"TARGET_H8300H || TARGET_H8300S"
"* return output_logical_op (HImode, XOR, operands);"