(mulsidi3 patterns): Fix typo, LSHIFTRT was ASHIFT.
authorRichard Stallman <rms@gnu.org>
Sat, 30 Oct 1993 20:30:46 +0000 (20:30 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 30 Oct 1993 20:30:46 +0000 (20:30 +0000)
From-SVN: r5947

gcc/config/m68k/m68k.md

index 460e1ca..4464427 100644 (file)
          (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"
   "")
 
        (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")
 
        (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.  */