re PR bootstrap/88714 (bootstrap comparison failure on armv7l since r265398)
authorJakub Jelinek <jakub@redhat.com>
Mon, 11 Feb 2019 10:39:59 +0000 (11:39 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 11 Feb 2019 10:39:59 +0000 (11:39 +0100)
PR bootstrap/88714
* config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use q constraint
instead of r.

From-SVN: r268766

gcc/ChangeLog
gcc/config/arm/ldrdstrd.md

index a4cc46a5fc8eabc57e72dae83639018aa9a40385..1fa6936f3867afd88f4d671125acb2b6e152b296 100644 (file)
@@ -1,3 +1,9 @@
+2019-02-11  Jakub Jelinek  <jakub@redhat.com>
+
+       PR bootstrap/88714
+       * config/arm/ldrdstrd.md (*arm_ldrd, *arm_strd): Use q constraint
+       instead of r.
+
 2019-02-11  Hans-Peter Nilsson  <hp@axis.com>
 
        * function.c (assign_parm_setup_block): Use the stored
index cb7a6adebbc8084a2e642ff2dcbef8b3fb16f268..c937591ad40176ccf981a271690899aaaf50ef9c 100644 (file)
 ;; We use gen_operands_ldrd_strd() with a modify argument as false so that the
 ;; operands are not changed.
 (define_insn "*arm_ldrd"
-  [(parallel [(set (match_operand:SI 0 "s_register_operand" "=r")
+  [(parallel [(set (match_operand:SI 0 "s_register_operand" "=q")
                   (match_operand:SI 2 "memory_operand" "m"))
-             (set (match_operand:SI 1 "s_register_operand" "=r")
+             (set (match_operand:SI 1 "s_register_operand" "=q")
                   (match_operand:SI 3 "memory_operand" "m"))])]
   "TARGET_LDRD && TARGET_ARM && reload_completed
   && valid_operands_ldrd_strd (operands, true)"
 
 (define_insn "*arm_strd"
   [(parallel [(set (match_operand:SI 2 "memory_operand" "=m")
-                  (match_operand:SI 0 "s_register_operand" "r"))
+                  (match_operand:SI 0 "s_register_operand" "q"))
              (set (match_operand:SI 3 "memory_operand" "=m")
-                  (match_operand:SI 1 "s_register_operand" "r"))])]
+                  (match_operand:SI 1 "s_register_operand" "q"))])]
   "TARGET_LDRD && TARGET_ARM && reload_completed
   && valid_operands_ldrd_strd (operands, false)"
   {