]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
arm.c (output_move_double): In one case properly count number of instructions that...
authorRoman Zhuykov <zhroma@ispras.ru>
Fri, 10 Feb 2012 12:00:30 +0000 (12:00 +0000)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Fri, 10 Feb 2012 12:00:30 +0000 (16:00 +0400)
2012-02-10  Roman Zhuykov  <zhroma@ispras.ru>

* config/arm/arm.c (output_move_double): In one case properly
count number of instructions that will be emitted.

From-SVN: r184088

gcc/ChangeLog
gcc/config/arm/arm.c

index 27e4e6fa4d3bcbe9617b398fca193c7939273838..8e59be03f92dbdc656191cb4a6abdd25a9222770 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-10  Roman Zhuykov  <zhroma@ispras.ru>
+
+       * config/arm/arm.c (output_move_double): In one case properly
+       count number of instructions that will be emitted.
+
 2012-02-10  Richard Guenther  <rguenther@suse.de>
 
        PR translation/52193
index e2ab10229be9ccf609e855ed3474bbd2dd7e4dd4..7f0dc6b4aa3280eda3c3fe1c2edcfca8c02d7d7a 100644 (file)
@@ -14205,6 +14205,9 @@ output_move_double (rtx *operands, bool emit, int *count)
                    output_asm_insn ("sub%?\t%0, %1, %2", otherops);
                }
 
+             if (count)
+               *count = 2;
+
              if (TARGET_LDRD)
                return "ldr%(d%)\t%0, [%1]";