diff options
author | DJ Delorie <dj@redhat.com> | 2006-06-13 23:16:43 -0400 |
---|---|---|
committer | DJ Delorie <dj@gcc.gnu.org> | 2006-06-13 23:16:43 -0400 |
commit | e3d437c0561389c39a8232327982baba7e9dfe46 (patch) | |
tree | e60132ea8ce16e504960fde1f509fe8cee0c37e8 | |
parent | 169b75127838cafb33496832e24f2c65b562fc2c (diff) | |
download | gcc-e3d437c0561389c39a8232327982baba7e9dfe46.zip gcc-e3d437c0561389c39a8232327982baba7e9dfe46.tar.gz gcc-e3d437c0561389c39a8232327982baba7e9dfe46.tar.bz2 |
* config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
From-SVN: r114632
-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; |