(extv, extzv): In patterns that will use movb and movw, ensure size is
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 28 Jul 1994 23:38:46 +0000 (19:38 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 28 Jul 1994 23:38:46 +0000 (19:38 -0400)
8 or 16.

From-SVN: r7814

gcc/config/m68k/m68k.md

index d27064b3f888899f83f4c4206a4440a756787676..04f1d70df1a07cbb7889a30d1b7ab246712d525a 100644 (file)
                         (match_operand:SI 2 "const_int_operand" "n")
                         (match_operand:SI 3 "const_int_operand" "n")))]
   "TARGET_68020 && TARGET_BITFIELD
+   && (INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16)
    && INTVAL (operands[3]) % INTVAL (operands[2]) == 0
    && (GET_CODE (operands[1]) == REG
        || ! mode_dependent_address_p (XEXP (operands[1], 0)))"
                         (match_operand:SI 2 "const_int_operand" "n")
                         (match_operand:SI 3 "const_int_operand" "n")))]
   "TARGET_68020 && TARGET_BITFIELD
+   && (INTVAL (operands[2]) == 8 || INTVAL (operands[2]) == 16)
    && INTVAL (operands[3]) % INTVAL (operands[2]) == 0
    && (GET_CODE (operands[1]) == REG
        || ! mode_dependent_address_p (XEXP (operands[1], 0)))"