OSDN Git Service

* config/h8300/h8300.md (xor patterns): Tighten the predicates
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2002 20:48:38 +0000 (20:48 +0000)
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2002 20:48:38 +0000 (20:48 +0000)
of operands[1] to register_operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49445 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/h8300/h8300.md

index 5ad4904..96e4904 100644 (file)
@@ -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__.
index f67e22e..ba9b2d5 100644 (file)
 
 (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);"
 
 (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);"