From 765ce3456db06bf6ef751445cf805e5a58b7894a Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 8 May 2005 19:42:44 +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: r99396 --- gcc/ChangeLog | 7 +++++++ gcc/config/m68hc11/m68hc11.md | 12 ++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 63c1cc917ca7..a8fc36914d10 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 Richard Sandiford PR target/21416 diff --git a/gcc/config/m68hc11/m68hc11.md b/gcc/config/m68hc11/m68hc11.md index 1f851fa913b2..b3063aff4a87 100644 --- a/gcc/config/m68hc11/m68hc11.md +++ b/gcc/config/m68hc11/m68hc11.md @@ -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) @@ -2902,8 +2902,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")))] "" "* { @@ -2958,11 +2958,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.47.2