]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mn10300.md (movqi, movhi): Avoid using address registers as destinations unless absol...
authorJeffrey A Law <law@cygnus.com>
Wed, 22 Oct 1997 00:41:31 +0000 (00:41 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 22 Oct 1997 00:41:31 +0000 (18:41 -0600)
        * mn10300.md (movqi, movhi): Avoid using address registers as
        destinations unless absolutely necessary.

From-SVN: r16141

gcc/ChangeLog
gcc/config/mn10300/mn10300.md

index 9341ae0434588743f965e99987b4d4ce8710d046..aeac9b9abc05312aed43a775cb0fdf4bdc7227ce 100644 (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
index c835043c3f6f4cb06ef3a3a1c43574309b790414..c9e7d336d2f87016c9893b9531193ad15b0305c3 100644 (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)"
 }")
 
 (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)"