re PR target/19051 (m6811-elf-gcc ICE)
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 8 May 2005 17:52:22 +0000 (19:52 +0200)
committerStephane Carrez <ciceron@gcc.gnu.org>
Sun, 8 May 2005 17:52:22 +0000 (19:52 +0200)
PR target/19051
* config/m68hc11/m68hc11.md ("mulqi3"): Use general_operand for operand
1 and fix constraints.
("mulqihi3"): Use general_operand for operand 2.

From-SVN: r99399

gcc/ChangeLog
gcc/config/m68hc11/m68hc11.md

index 6117785..ff70fab 100644 (file)
@@ -1,3 +1,10 @@
+2005-05-08  Stephane Carrez  <stcarrez@nerim.fr>
+
+       PR target/19051
+       * config/m68hc11/m68hc11.md ("mulqi3"): Use general_operand for operand
+       1 and fix constraints.
+       ("mulqihi3"): Use general_operand for operand 2.
+
 2005-05-08  Julian Brown  <julian@codesourcery.com>
            H.J. Lu  <hongjiu.lu@intel.com>
            Paul Brook  <paul@codesourcery.com>
index b51d808..8459100 100644 (file)
 
 (define_insn "mulqi3"
   [(set (match_operand:QI 0 "register_operand" "=d,*x,*y")
-        (mult:QI (match_operand:QI 1 "nonimmediate_operand" "%dum,0,0")
-                (match_operand:QI 2 "general_operand" "dium,*xium,*yium")))]
+        (mult:QI (match_operand:QI 1 "general_operand" "%di*um,0,0")
+                (match_operand:QI 2 "general_operand" "di*um,*xium,*yium")))]
   ""
   "*
 {
   ")
 
 (define_insn "mulqihi3"
-  [(set (match_operand:HI 0 "register_operand" "=d,d")
+  [(set (match_operand:HI 0 "register_operand" "=d,d,d")
         (mult:HI (sign_extend:HI
-                       (match_operand:QI 1 "register_operand" "%0,0"))
+                       (match_operand:QI 1 "register_operand" "%0,0,0"))
                 (sign_extend:HI
-                        (match_operand:QI 2 "nonimmediate_operand" "dm,*A"))))]
+                        (match_operand:QI 2 "general_operand" "mi*u,*A,0"))))]
   ""
   "*
 {