From e3d437c0561389c39a8232327982baba7e9dfe46 Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Tue, 13 Jun 2006 23:16:43 -0400 Subject: * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants. From-SVN: r114632 --- 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 2081995..ecfe2e6 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 a4bde64..1719a79 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; -- cgit v1.1