* config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2006 15:33:36 +0000 (15:33 +0000)
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2006 15:33:36 +0000 (15:33 +0000)
(TN-16C-A156A/E).
(mulhisi3_r): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114891 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m32c/muldiv.md

index b8cd042..7880d15 100644 (file)
@@ -1,3 +1,9 @@
+2006-06-21  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
+       (TN-16C-A156A/E).
+       (mulhisi3_r): Likewise.
+
 2006-06-21  Richard Sandiford  <richard@codesourcery.com>
 
        PR middle-end/28034
index 1719a79..9313088 100644 (file)
 )
 
 (define_insn "mulhisi3_c"
-  [(set (match_operand:SI 0 "mra_operand" "=RsiSd,??Rmm")
-        (mult:SI (sign_extend:SI (match_operand:HI 1 "mra_operand" "%0,0"))
-                 (match_operand 2 "immediate_operand" "i,i")))]
+  [(set (match_operand:SI 0 "ra_operand" "=Rsi")
+        (mult:SI (sign_extend:SI (match_operand:HI 1 "mra_operand" "%0"))
+                 (match_operand 2 "immediate_operand" "i")))]
   ""
   "mul.w\t%2,%1"
   [(set_attr "flags" "o")]
 )
 
 (define_insn "mulhisi3_r"
-  [(set (match_operand:SI 0 "mra_operand" "=RsiSd,RsiSd,??Rmm,??Rmm")
-        (mult:SI (sign_extend:SI (match_operand:HI 1 "mra_operand" "%0,0,0,0"))
-                 (sign_extend:SI (match_operand:HI 2 "mra_operand" "RhiSd,?Rmm,RhiSd,?Rmm"))))]
+  [(set (match_operand:SI 0 "mra_operand" "=Rsi,Rsi")
+        (mult:SI (sign_extend:SI (match_operand:HI 1 "mra_operand" "%0,0"))
+                 (sign_extend:SI (match_operand:HI 2 "mra_operand" "RhiSd,?Rmm"))))]
   ""
   "mul.w\t%2,%1"
   [(set_attr "flags" "o")]