* config/m32c/muldiv.md (mulpsi3): Expect arbitrary constants.
authorDJ Delorie <dj@redhat.com>
Wed, 14 Jun 2006 03:16:43 +0000 (23:16 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 14 Jun 2006 03:16:43 +0000 (23:16 -0400)
From-SVN: r114632

gcc/ChangeLog
gcc/config/m32c/muldiv.md

index 2081995bc6cd5db1a5c30c9d4921f2cea1a8e93e..ecfe2e6e7b326730ace3e992d953516f9bdf0d15 100644 (file)
@@ -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,
index a4bde6496ab5d835aa4fcbb3393682de1e404858..1719a79bb37d6fb6fda3c988bfc829c2b464f2a8 100644 (file)
                  (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;