(ashlsi_16, lshrsi_16): Disable pattern for TARGET_68060; this special
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 Apr 1996 15:33:38 +0000 (11:33 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 16 Apr 1996 15:33:38 +0000 (11:33 -0400)
case is not faster for that cpu.

From-SVN: r11818

gcc/config/m68k/m68k.md

index 78deaf7..f8c3fd7 100644 (file)
     FAIL;
 } ")
 
-;; On all 68k models, this makes faster code in a special case.
+;; On most 68k models, this makes faster code in a special case.
 
-(define_insn ""
+(define_insn "ashlsi_16"
   [(set (match_operand:SI 0 "register_operand" "=d")
        (ashift:SI (match_operand:SI 1 "register_operand" "0")
                   (const_int 16)))]
-  ""
+  "!TARGET_68060"
   "*
 {
   CC_STATUS_INIT;
 
 ;; On the 68000, this makes faster code in a special case.
 
-(define_insn ""
+(define_insn "ashlsi_17_24"
   [(set (match_operand:SI 0 "register_operand" "=d")
        (ashift:SI (match_operand:SI 1 "register_operand" "0")
                   (match_operand:SI 2 "const_int_operand" "n")))]
   return \"add%.l %0,%0\;subx%.l %0,%0\;neg%.l %0\";
 }")
 
-;; On all 68k models, this makes faster code in a special case.
+;; On most 68k models, this makes faster code in a special case.
 
 (define_insn "lshrsi_16"
   [(set (match_operand:SI 0 "register_operand" "=d")
        (lshiftrt:SI (match_operand:SI 1 "register_operand" "0")
                     (const_int 16)))]
-  ""
+  "!TARGET_68060"
   "*
 {
   CC_STATUS_INIT;