From 718a81bbcc48249c65240e8e0eb650e465565d39 Mon Sep 17 00:00:00 2001 From: dj Date: Wed, 14 Jun 2006 03:16:43 +0000 Subject: [PATCH] * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114632 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 4 ++++ gcc/config/m32c/muldiv.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2081995bc6c..ecfe2e6e7b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2006-06-13 DJ Delorie + + * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants. + 2006-06-13 Carlos O'Donell * Makefile.in: Define HTMLS_BUILD, HTMLS_INSTALL, diff --git a/gcc/config/m32c/muldiv.md b/gcc/config/m32c/muldiv.md index a4bde6496ab..1719a79bb37 100644 --- a/gcc/config/m32c/muldiv.md +++ b/gcc/config/m32c/muldiv.md @@ -152,7 +152,7 @@ (match_operand 2 "m32c_psi_scale" "Ilb")))] "TARGET_A24" "if (GET_CODE (operands[2]) != CONST_INT - || INTVAL(operands[2]) < 0) + || ! m32c_psi_scale (operands[2], PSImode)) { m32c_expand_neg_mulpsi3 (operands); DONE; -- 2.11.4.GIT