From: Torbjorn Granlund Date: Thu, 26 Sep 1996 21:55:07 +0000 (+0000) Subject: (mulsidi3 matcher): Change predicate const_int_operand to const_sint32_operand. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33163aceba07dcaf04960280bb06781e6bb7310d;p=gcc.git (mulsidi3 matcher): Change predicate const_int_operand to const_sint32_operand. (mulsidi3 matcher): Change predicate const_int_operand to const_sint32_operand. Get rid of bogus range condition. From-SVN: r12850 --- diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index da9ff37ce24..538c8ddac13 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -2949,16 +2949,12 @@ (define_insn "" [(set (match_operand:SI 0 "register_operand" "=d") (mult:SI (match_operand:SI 1 "register_operand" "%0") - (match_operand:SI 2 "const_int_operand" "n"))) + (match_operand:SI 2 "const_sint32_operand" ""))) (set (match_operand:SI 3 "register_operand" "=d") (truncate:SI (lshiftrt:DI (mult:DI (sign_extend:DI (match_dup 1)) (match_dup 2)) (const_int 32))))] - "TARGET_68020 && !TARGET_68060 && !TARGET_5200 - /* This test is a noop on 32 bit machines, - but important for a cross-compiler hosted on 64-bit machines. */ - && INTVAL (operands[2]) <= 0x7fffffff - && INTVAL (operands[2]) >= -0x80000000" + "TARGET_68020 && !TARGET_68060 && !TARGET_5200" "muls%.l %2,%3:%0") (define_expand "umulsi3_highpart"