OSDN Git Service

2012-02-10 Roman Zhuykov <zhroma@ispras.ru>
authoramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Feb 2012 12:00:30 +0000 (12:00 +0000)
committeramonakov <amonakov@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Feb 2012 12:00:30 +0000 (12:00 +0000)
* config/arm/arm.c (output_move_double): In one case properly
count number of instructions that will be emitted.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184088 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 27e4e6f..8e59be0 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 e2ab102..7f0dc6b 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]";