diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79c4feb79c4..952c7e793e0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-12-18 James Greenhalgh + + * config/aarch64/aarch64.md (insv_imm): Add modes + for source operands. + 2012-12-18 James Greenhalgh * config/aarch64/aarch64.c (aarch64_simd_attr_length_move): diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index b59d53df86a..28f32da5378 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -840,8 +840,8 @@ (define_insn "insv_imm" [(set (zero_extract:GPI (match_operand:GPI 0 "register_operand" "+r") (const_int 16) - (match_operand 1 "const_int_operand" "n")) - (match_operand 2 "const_int_operand" "n"))] + (match_operand:GPI 1 "const_int_operand" "n")) + (match_operand:GPI 2 "const_int_operand" "n"))] "INTVAL (operands[1]) < GET_MODE_BITSIZE (mode) && INTVAL (operands[1]) % 16 == 0 && INTVAL (operands[2]) <= 0xffff"