From 011699d905f883656dc0bb5e65274645a860e999 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 8 May 2005 19:52:22 +0200 Subject: [PATCH] re PR target/19051 (m6811-elf-gcc ICE) 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 | 7 +++++++ gcc/config/m68hc11/m68hc11.md | 10 +++++----- 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 + + 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 H.J. Lu Paul Brook 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"))))] "" "* { -- 2.30.2