diff options
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/m32c/muldiv.md | 2 |
2 files changed, 5 insertions, 1 deletions
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 <dj@redhat.com> + + * config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants. + 2006-06-13 Carlos O'Donell <carlos@codesourcery.com> * 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; |