(arith_reg_operand): Disallow MACH_REG and MACL_REG.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 23 Nov 1994 19:25:55 +0000 (11:25 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 23 Nov 1994 19:25:55 +0000 (11:25 -0800)
From-SVN: r8556

gcc/config/sh/sh.c

index dcb845d8203f1678c475ee5824e077c8becbfafb..8874bb24e32aea6baadf49f03f47f4c8f9af4553 100644 (file)
@@ -2365,7 +2365,9 @@ arith_reg_operand (op, mode)
     {
       if (GET_CODE (op) == REG)
        return (REGNO (op) != T_REG
-               && REGNO (op) != PR_REG);
+               && REGNO (op) != PR_REG
+               && REGNO (op) != MACH_REG
+               && REGNO (op) != MACL_REG);
       return 1;
     }
   return 0;