* m68k.md (ashldi_const): Disable for !TARGET_5200. Fix indention.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 1999 22:29:14 +0000 (22:29 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 21 Jan 1999 22:29:14 +0000 (22:29 +0000)
        (ashldi3 expander): Similarly.  Update comments.
        (ashrdi_const, lshrdi_const): Fix indention.
        (ashrdi3, lshrdi3): FIx indention.  Update comments.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24814 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7aa9b30..05e53cb 100644 (file)
@@ -1,3 +1,10 @@
+Thu Jan 21 23:21:57 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 21:53:36 1999  Richard Henderson  <rth@cygnus.com>
 
        * emit-rtl.c (try_split): Don't try to split non-instructions.
index 562fb07..83d5c83 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;
 } ")