mn10300.md (movqi, movhi): Avoid using address registers as destinations unless absolutely necessary.

* mn10300.md (movqi, movhi): Avoid using address registers as
        destinations unless absolutely necessary.

From-SVN: r16141
This commit is contained in:
Jeffrey A Law 1997-10-22 00:41:31 +00:00 committed by Jeff Law
parent 1a98615242
commit c6ee9150da
2 changed files with 5 additions and 2 deletions

View File

@ -5,6 +5,9 @@ Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
* mn10300.md (movqi, movhi): Avoid using address registers as
destinations unless absolutely necessary.
* mn10200.c (expand_prologue): Fix typo.
* mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed

View File

@ -57,7 +57,7 @@
}")
(define_insn ""
[(set (match_operand:QI 0 "general_operand" "=d,a,d,a,d,a,d,a,d,m")
[(set (match_operand:QI 0 "general_operand" "=d,*a,d,*a,d,*a,d,*a,d,m")
(match_operand:QI 1 "general_operand" "0,0,I,I,a,d,di,ia,m,d"))]
"register_operand (operands[0], QImode)
|| register_operand (operands[1], QImode)"
@ -112,7 +112,7 @@
}")
(define_insn ""
[(set (match_operand:HI 0 "general_operand" "=d,a,d,a,d,a,d,a,d,m")
[(set (match_operand:HI 0 "general_operand" "=d,*a,d,*a,d,*a,d,*a,d,m")
(match_operand:HI 1 "general_operand" "0,0,I,I,a,d,di,ia,m,d"))]
"register_operand (operands[0], HImode)
|| register_operand (operands[1], HImode)"