summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-18 17:46:48 +0000
committerjgreenhalgh <jgreenhalgh@138bc75d-0d04-0410-961f-82ee72b054a4>2012-12-18 17:46:48 +0000
commit1acd6f55accc85ec31e24e237bc4e62910d9cc7a (patch)
treea60c43810a4d2d430a331ba9f4b887fde66daf89
parenta5831160c5d7af54e115564e6d2efa50ca66d3b8 (diff)
downloadppe42-gcc-1acd6f55accc85ec31e24e237bc4e62910d9cc7a.tar.gz
ppe42-gcc-1acd6f55accc85ec31e24e237bc4e62910d9cc7a.zip
[AArch64] Fix warning in aarch64.md
gcc/ * config/aarch64/aarch64.md (insv_imm<mode>): Add modes for source operands. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194589 138bc75d-0d04-0410-961f-82ee72b054a4
-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 79c4feb79c4..952c7e793e0 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 b59d53df86a..28f32da5378 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"
OpenPOWER on IntegriCloud