aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-30 20:30:46 +0000
committerRichard Stallman <rms@gnu.org>1993-10-30 20:30:46 +0000
commitf06533b552501ca142ac1f32afdd1842e8560464 (patch)
treea0dc701afca30055a56bc17195d840e950b0920d /gcc
parenta20bd77585ee8a0702a6452e415fbd0881050946 (diff)
downloadgcc-f06533b552501ca142ac1f32afdd1842e8560464.zip
gcc-f06533b552501ca142ac1f32afdd1842e8560464.tar.gz
gcc-f06533b552501ca142ac1f32afdd1842e8560464.tar.bz2
(mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT.
From-SVN: r5947
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/m68k/m68k.md18
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
index 460e1ca..4464427 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. */