]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
m68k.md (ashldi_const): Disable for !TARGET_5200.
authorJeffrey A Law <law@cygnus.com>
Thu, 21 Jan 1999 22:31:39 +0000 (22:31 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 21 Jan 1999 22:31:39 +0000 (15:31 -0700)
       * m68k.md (ashldi_const): Disable for !TARGET_5200.  Fix indention.
       (ashldi3 expander): Similarly.  Update comments.
       (ashrdi_const, lshrdi_const): Fix indention.
       (ashrdi3, lshrdi3): FIx indention.  Update comments.

From-SVN: r24815

gcc/ChangeLog
gcc/config/m68k/m68k.md

index f2947b9a820508d85d9731be881dbe0fd773ac73..e478289e632f34ecc8544d7b3702bf91e971a68a 100644 (file)
@@ -1,3 +1,10 @@
+Thu Jan 21 23:27:06 1999  Jeffrey A Law  (law@cygnus.com)
+
+       * m68k.md (ashldi_const): Disable for !TARGET_5200.  Fix indention.
+       (ashldi3 expander): Similarly.  Update comments.
+       (ashrdi_const, lshrdi_const): Fix indention.
+       (ashrdi3, lshrdi3): FIx indention.  Update comments.
+
 Thu Jan 21 20:33:31 1999  Richard Henderson  <rth@cygnus.com>
 
        * rs6000.h (LEGITIMIZE_RELOAD_ADDRESS): Recognize and accept
index 34e7a81b7637fb357b5eb34456efbbdbbd32c3aa..a95b32259c8eb5faf307cc6cc398a1165bb60f5b 100644 (file)
@@ -1,5 +1,5 @@
 ;;- Machine description for GNU compiler, Motorola 68000 Version
-;;  Copyright (C) 1987, 88, 93-97, 1998 Free Software Foundation, Inc.
+;;  Copyright (C) 1987, 88, 93-98, 1999 Free Software Foundation, Inc.
 
 ;; This file is part of GNU CC.
 
   [(set (match_operand:DI 0 "general_operand" "=d")
        (ashift:DI (match_operand:DI 1 "general_operand" "0")
                     (match_operand 2 "const_int_operand" "n")))]
-  "((INTVAL (operands[2]) >= 1 && INTVAL (operands[2]) <= 3)
-    || INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16
-    || (INTVAL (operands[2]) > 32 && INTVAL (operands[2]) <= 63))"
+  "(!TARGET_5200
+    && ((INTVAL (operands[2]) >= 1 && INTVAL (operands[2]) <= 3)
+       || INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16
+       || (INTVAL (operands[2]) > 32 && INTVAL (operands[2]) <= 63)))"
   "*
 {
   operands[1] = gen_rtx_REG (SImode, REGNO (operands[0]) + 1);
   [(set (match_operand:DI 0 "general_operand" "")
        (ashift:DI (match_operand:DI 1 "general_operand" "")
                     (match_operand 2 "const_int_operand" "")))]
-  ""
+  "!TARGET_5200"
   "
 {
+  /* ???  This is a named pattern like this is not allowed to FAIL based
+     on its operands.  */
   if (GET_CODE (operands[2]) != CONST_INT
-  || ((INTVAL (operands[2]) < 1 || INTVAL (operands[2]) > 3)
-     && INTVAL (operands[2]) != 8 && INTVAL (operands[2]) != 16
-     && (INTVAL (operands[2]) < 32 || INTVAL (operands[2]) > 63)))
+      || ((INTVAL (operands[2]) < 1 || INTVAL (operands[2]) > 3)
+         && INTVAL (operands[2]) != 8 && INTVAL (operands[2]) != 16
+         && (INTVAL (operands[2]) < 32 || INTVAL (operands[2]) > 63)))
     FAIL;
 } ")
 
   [(set (match_operand:DI 0 "general_operand" "=d")
        (ashiftrt:DI (match_operand:DI 1 "general_operand" "0")
                     (match_operand 2 "const_int_operand" "n")))]
-  "!TARGET_5200 
+  "(!TARGET_5200 
     && ((INTVAL (operands[2]) >= 1 && INTVAL (operands[2]) <= 3)
-    || INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16
-    || INTVAL (operands[2]) == 31
-    || (INTVAL (operands[2]) > 32 && INTVAL (operands[2]) <= 63))"
+       || INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16
+       || INTVAL (operands[2]) == 31
+       || (INTVAL (operands[2]) > 32 && INTVAL (operands[2]) <= 63)))"
   "*
 {
   operands[1] = gen_rtx_REG (SImode, REGNO (operands[0]) + 1);
   "!TARGET_5200"
   "
 {
+  /* ???  This is a named pattern like this is not allowed to FAIL based
+     on its operands.  */
   if (GET_CODE (operands[2]) != CONST_INT
-  || ((INTVAL (operands[2]) < 1 || INTVAL (operands[2]) > 3)
-     && INTVAL (operands[2]) != 8 && INTVAL (operands[2]) != 16
-     && (INTVAL (operands[2]) < 31 || INTVAL (operands[2]) > 63)))
+      || ((INTVAL (operands[2]) < 1 || INTVAL (operands[2]) > 3)
+         && INTVAL (operands[2]) != 8 && INTVAL (operands[2]) != 16
+         && (INTVAL (operands[2]) < 31 || INTVAL (operands[2]) > 63)))
     FAIL;
 } ")
 
   [(set (match_operand:DI 0 "general_operand" "=d")
        (lshiftrt:DI (match_operand:DI 1 "general_operand" "0")
                     (match_operand 2 "const_int_operand" "n")))]
-  "!TARGET_5200
+  "(!TARGET_5200
     && ((INTVAL (operands[2]) >= 1 && INTVAL (operands[2]) <= 3)
-    || INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16
-    || (INTVAL (operands[2]) > 32 && INTVAL (operands[2]) <= 63))"
+        || INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16
+        || (INTVAL (operands[2]) > 32 && INTVAL (operands[2]) <= 63)))"
   "*
 {
   operands[1] = gen_rtx_REG (SImode, REGNO (operands[0]) + 1);
   "!TARGET_5200"
   "
 {
+  /* ???  This is a named pattern like this is not allowed to FAIL based
+     on its operands.  */
   if (GET_CODE (operands[2]) != CONST_INT
-  || ((INTVAL (operands[2]) < 1 || INTVAL (operands[2]) > 3)
-     && INTVAL (operands[2]) != 8 && INTVAL (operands[2]) != 16
-     && (INTVAL (operands[2]) < 32 || INTVAL (operands[2]) > 63)))
+      || ((INTVAL (operands[2]) < 1 || INTVAL (operands[2]) > 3)
+         && INTVAL (operands[2]) != 8 && INTVAL (operands[2]) != 16
+         && (INTVAL (operands[2]) < 32 || INTVAL (operands[2]) > 63)))
     FAIL;
 } ")