]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
muldiv.md (mulhisi3_i): Only use registers for dest (TN-16C-A156A/E).
authorDJ Delorie <dj@redhat.com>
Thu, 22 Jun 2006 15:33:36 +0000 (11:33 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Thu, 22 Jun 2006 15:33:36 +0000 (11:33 -0400)
* config/m32c/muldiv.md (mulhisi3_i): Only use registers for dest
(TN-16C-A156A/E).
(mulhisi3_r): Likewise.

From-SVN: r114891

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

index b8cd0420f788196a58c5c7fbc3fa825d595068d0..7880d15fe9159ee402989cd29c49ac8082fc0403 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 1719a79bb37d6fb6fda3c988bfc829c2b464f2a8..9313088b552e6f4a921c1aff119ec2c9df570d65 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")]