aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJames Greenhalgh <james.greenhalgh@arm.com>2012-12-18 17:46:48 +0000
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>2012-12-18 17:46:48 +0000
commit0b81f26c304d304e6a239e04408de47e02c8625b (patch)
treea60c43810a4d2d430a331ba9f4b887fde66daf89 /gcc
parent7b4866054705e10b53d7108af22c2930fd424d71 (diff)
downloadgcc-0b81f26c304d304e6a239e04408de47e02c8625b.zip
gcc-0b81f26c304d304e6a239e04408de47e02c8625b.tar.gz
gcc-0b81f26c304d304e6a239e04408de47e02c8625b.tar.bz2
[AArch64] Fix warning in aarch64.md
gcc/ * config/aarch64/aarch64.md (insv_imm<mode>): Add modes for source operands. From-SVN: r194589
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.md4
2 files changed, 7 insertions, 2 deletions
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 <james.greenhalgh@arm.com>
+ * config/aarch64/aarch64.md (insv_imm<mode>): Add modes
+ for source operands.
+
+2012-12-18 James Greenhalgh <james.greenhalgh@arm.com>
+
* 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<mode>"
[(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>mode)
&& INTVAL (operands[1]) % 16 == 0
&& INTVAL (operands[2]) <= 0xffff"