[AArch64] Fix warning in aarch64.md

gcc/
	* config/aarch64/aarch64.md (insv_imm<mode>): Add modes
	for source operands.

From-SVN: r194589
This commit is contained in:
James Greenhalgh 2012-12-18 17:46:48 +00:00 committed by James Greenhalgh
parent 7b48660547
commit 0b81f26c30
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
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):

View file

@ -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"