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 a4cc46a..1fa6936 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 cb7a6ad..c937591 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)"
   {