From: Richard Stallman Date: Sat, 30 Oct 1993 20:30:46 +0000 (+0000) Subject: (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f06533b552501ca142ac1f32afdd1842e8560464;p=gcc.git (mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT. From-SVN: r5947 --- diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md index 460e1ca8afd..4464427b7ef 100644 --- a/gcc/config/m68k/m68k.md +++ b/gcc/config/m68k/m68k.md @@ -2575,9 +2575,9 @@ (mult:SI (match_operand:SI 1 "register_operand" "") (match_operand:SI 2 "nonimmediate_operand" ""))) (set (subreg:SI (match_dup 0) 0) - (truncate:SI (ashift:DI (mult:DI (sign_extend:DI (match_dup 1)) - (sign_extend:DI (match_dup 2))) - (const_int 32))))])] + (truncate:SI (lshiftrt:DI (mult:DI (sign_extend:DI (match_dup 1)) + (sign_extend:DI (match_dup 2))) + (const_int 32))))])] "TARGET_68020" "") @@ -2586,9 +2586,9 @@ (mult:SI (match_operand:SI 1 "register_operand" "%0") (match_operand:SI 2 "nonimmediate_operand" "dm"))) (set (match_operand:SI 3 "register_operand" "=d") - (truncate:SI (ashift:DI (mult:DI (sign_extend:DI (match_dup 1)) - (sign_extend:DI (match_dup 2))) - (const_int 32))))] + (truncate:SI (lshiftrt:DI (mult:DI (sign_extend:DI (match_dup 1)) + (sign_extend:DI (match_dup 2))) + (const_int 32))))] "TARGET_68020" "muls%.l %2,%3:%0") @@ -2597,9 +2597,9 @@ (mult:SI (match_operand:SI 1 "register_operand" "%0") (match_operand:SI 2 "const_int_operand" "n"))) (set (match_operand:SI 3 "register_operand" "=d") - (truncate:SI (ashift:DI (mult:DI (sign_extend:DI (match_dup 1)) - (match_dup 2)) - (const_int 32))))] + (truncate:SI (lshiftrt:DI (mult:DI (sign_extend:DI (match_dup 1)) + (match_dup 2)) + (const_int 32))))] "TARGET_68020 /* This test is a noop on 32 bit machines, but important for a cross-compiler hosted on 64-bit machines. */