h8300.md (an anonymous pattern): Relax the condition to accept the same operands and/or subregs.

* config/h8300/h8300.md (an anonymous pattern): Relax the
	condition to accept the same operands and/or subregs.

From-SVN: r59270
This commit is contained in:
Kazu Hirata 2002-11-19 18:41:27 +00:00 committed by Kazu Hirata
parent 85af47b9e6
commit 3b16115392
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2002-11-19 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (an anonymous pattern): Relax the
condition to accept the same operands and/or subregs.
2002-11-19 Daniel Jacobowitz <drow@mvista.com>
* config/sh/sh.c (gen_shl_and): Revert previous patch.

View File

@ -2163,9 +2163,7 @@
[(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (zero_extend:SI (match_operand:QI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
"REG_P (operands[0])
&& REG_P (operands[1])
&& REGNO (operands[0]) != REGNO (operands[1])"
""
"or\\t%X1,%w0"
[(set_attr "cc" "clobber")
(set_attr "length" "2")])