]> gcc.gnu.org Git - gcc.git/commitdiff
(general_movsrc_operand, general_movdst_operand): Delete
authorJim Wilson <wilson@gcc.gnu.org>
Thu, 4 May 1995 18:12:10 +0000 (11:12 -0700)
committerJim Wilson <wilson@gcc.gnu.org>
Thu, 4 May 1995 18:12:10 +0000 (11:12 -0700)
references to POST_DEC and PRE_INC.

From-SVN: r9571

gcc/config/sh/sh.c

index 813d29a280a87359670b97e9978f36eb01d43e86..1783a319ce3f7b6590c3073a689f4b832a51646a 100644 (file)
@@ -1663,9 +1663,7 @@ general_movsrc_operand (op, mode)
        return 1;
 
       /* Only post inc allowed.  */
-      if (GET_CODE (inside) == POST_DEC
-         || GET_CODE (inside) == PRE_INC
-         || GET_CODE (inside) == PRE_DEC)
+      if (GET_CODE (inside) == PRE_DEC)
        return 0;
     }
 
@@ -1687,10 +1685,7 @@ general_movdst_operand (op, mode)
      enum machine_mode mode;
 {
   /* Only pre dec allowed.  */
-  if (GET_CODE (op) == MEM
-      && (GET_CODE (XEXP (op, 0)) == PRE_INC
-         || GET_CODE (XEXP (op, 0)) == POST_INC
-         || GET_CODE (XEXP (op, 0)) == POST_DEC))
+  if (GET_CODE (op) == MEM && GET_CODE (XEXP (op, 0)) == POST_INC)
     return 0;
 
   return general_operand (op, mode);
This page took 0.06273 seconds and 5 git commands to generate.