h8300.md (subqi3): Tighten the predicate for operands[2] to register_operand.
authorKazu Hirata <kazu@hxi.com>
Wed, 13 Feb 2002 12:42:33 +0000 (12:42 +0000)
committerKazu Hirata <kazu@gcc.gnu.org>
Wed, 13 Feb 2002 12:42:33 +0000 (12:42 +0000)
* config/h8300/h8300.md (subqi3): Tighten the predicate for
operands[2] to register_operand.

From-SVN: r49727

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

index 78f4449..02fa558 100644 (file)
@@ -1,3 +1,8 @@
+2002-02-13  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md (subqi3): Tighten the predicate for
+       operands[2] to register_operand.
+
 Wed Feb 13 10:35:56 CET 2002  Jan Hubicka  <jh@suse.cz>
 
        * i386.md (fop_*_comm_*): allow nonimmediate in the first operand.
index 98cf4eb..6cb1f5a 100644 (file)
 ;; ----------------------------------------------------------------------
 
 (define_insn "subqi3"
-  [(set (match_operand:QI 0 "register_operand" "=r,r")
-       (minus:QI (match_operand:QI 1 "register_operand" "0,0")
-                 (match_operand:QI 2 "nonmemory_operand" "r,n")))]
+  [(set (match_operand:QI 0 "register_operand" "=r")
+       (minus:QI (match_operand:QI 1 "register_operand" "0")
+                 (match_operand:QI 2 "register_operand" "r")))]
   ""
-  "@
-   sub.b       %X2,%X0
-   add.b       %G2,%X0"
+  "sub.b       %X2,%X0"
   [(set_attr "length" "2")
    (set_attr "cc" "set_zn")])