(mulhisi3, umulhisi3 matchers): Restrict range of constants allowed.
authorRichard Stallman <rms@gnu.org>
Sun, 9 May 1993 14:51:29 +0000 (14:51 +0000)
committerRichard Stallman <rms@gnu.org>
Sun, 9 May 1993 14:51:29 +0000 (14:51 +0000)
From-SVN: r4397

gcc/config/m68k/m68k.md

index 419eae4735e93c7396c84a6e88fce97ebffffb32..987909fb0dda7e957c2ca22a207fe8b2e109eecf 100644 (file)
        (mult:SI (sign_extend:SI
                  (match_operand:HI 1 "nonimmediate_operand" "%0"))
                 (match_operand:SI 2 "const_int_operand" "n")))]
-  "INTVAL (operands[2]) >= -0x10000 && INTVAL (operands[2]) <= 0x7fff"
+  "INTVAL (operands[2]) >= -0x8000 && INTVAL (operands[2]) <= 0x7fff"
   "*
 {
 #if defined(MOTOROLA) && !defined(CRDS)