]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[AArch64] Fix warning in aarch64.md
authorJames Greenhalgh <james.greenhalgh@arm.com>
Tue, 18 Dec 2012 17:46:48 +0000 (17:46 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Tue, 18 Dec 2012 17:46:48 +0000 (17:46 +0000)
gcc/
* config/aarch64/aarch64.md (insv_imm<mode>): Add modes
for source operands.

From-SVN: r194589

gcc/ChangeLog
gcc/config/aarch64/aarch64.md

index 79c4feb79c4076fbf2b8e4ed44890cb42f9dae13..952c7e793e07b6c0bb849f7bd45b5f9a7dbd4075 100644 (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):
index b59d53df86ac4de7056ac86eeec66c0f24442513..28f32da5378c333d8e224d3b7e7adf18cba01eb4 100644 (file)
 (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"