h8300.md (subqi3): Tighten the predicate for operands[2] to register_operand.

* config/h8300/h8300.md (subqi3): Tighten the predicate for
	operands[2] to register_operand.

From-SVN: r49727
This commit is contained in:
Kazu Hirata 2002-02-13 12:42:33 +00:00 committed by Kazu Hirata
parent ca4feb54ab
commit e1429da026
2 changed files with 9 additions and 6 deletions

View 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.

View File

@ -765,13 +765,11 @@
;; ----------------------------------------------------------------------
(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")])