Commit c6ee9150 by Jeffrey A Law Committed by Jeff Law

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

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
parent 1a986152
......@@ -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
......
......@@ -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)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment