diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2081995bc6cd..ecfe2e6e7b32 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 a4bde6496ab5..1719a79bb37d 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;