summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-08 17:52:22 +0000
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-08 17:52:22 +0000
commit97cf3e339cfdcd1bc787c954999bdce642bfd305 (patch)
tree24a9afe820449f3dab1e1471c45c2dbaa5f67632
parentf9697cdbbd5629db00b83a86f6b7cf06adf88262 (diff)
downloadppe42-gcc-97cf3e339cfdcd1bc787c954999bdce642bfd305.tar.gz
ppe42-gcc-97cf3e339cfdcd1bc787c954999bdce642bfd305.zip
PR target/19051
* config/m68hc11/m68hc11.md ("mulqi3"): Use general_operand for operand 1 and fix constraints. ("mulqihi3"): Use general_operand for operand 2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99399 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/m68hc11/m68hc11.md10
2 files changed, 12 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 61177853ab1..ff70fabc705 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md
index b51d8083c2b..845910067c9 100644
--- a/gcc/config/m68hc11/m68hc11.md
+++ b/gcc/config/m68hc11/m68hc11.md
@@ -2904,8 +2904,8 @@
(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")))]
""
"*
{
@@ -2960,11 +2960,11 @@
")
(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"))))]
""
"*
{
OpenPOWER on IntegriCloud