From 0b81f26c304d304e6a239e04408de47e02c8625b Mon Sep 17 00:00:00 2001 From: James Greenhalgh Date: Tue, 18 Dec 2012 17:46:48 +0000 Subject: [AArch64] Fix warning in aarch64.md gcc/ * config/aarch64/aarch64.md (insv_imm): Add modes for source operands. From-SVN: r194589 --- gcc/ChangeLog | 5 +++++ gcc/config/aarch64/aarch64.md | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79c4feb..952c7e7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 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): Remove unused variables. (aarch64_split_compare_and_swap): Likewise. diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index b59d53d..28f32da 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" -- cgit v1.1