]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/19051 (m6811-elf-gcc ICE)
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 8 May 2005 17:42:44 +0000 (19:42 +0200)
committerStephane Carrez <ciceron@gcc.gnu.org>
Sun, 8 May 2005 17:42:44 +0000 (19:42 +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: r99396

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

index 63c1cc917ca7f52b14f2546a44fd41230fe53b77..a8fc36914d104b2b2171f256400604998dfef714 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  Richard Sandiford  <rsandifo@redhat.com>
 
        PR target/21416
index 1f851fa913b2e66f01722454a6b281bd7d1cc85c..b3063aff4a878d2472ab6277369dc5870fbb015c 100644 (file)
@@ -1,5 +1,5 @@
 ;;- Machine description file for Motorola 68HC11 and 68HC12.
-;;- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004
+;;- Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
 ;;- Free Software Foundation, Inc.
 ;;- Contributed by Stephane Carrez (stcarrez@nerim.fr)
 
 
 (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"))))]
   ""
   "*
 {