aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRoman Zhuykov <zhroma@ispras.ru>2012-02-10 12:00:30 +0000
committerAlexander Monakov <amonakov@gcc.gnu.org>2012-02-10 16:00:30 +0400
commit76c9058b16afd55322d6f400f3ebf6072164eb35 (patch)
tree817407d80885c90710163e026a17407aaa138159 /gcc
parent7cbf224de2aeccf0a099c32b0d1f23fd356f5df8 (diff)
downloadgcc-76c9058b16afd55322d6f400f3ebf6072164eb35.zip
gcc-76c9058b16afd55322d6f400f3ebf6072164eb35.tar.gz
gcc-76c9058b16afd55322d6f400f3ebf6072164eb35.tar.bz2
arm.c (output_move_double): In one case properly count number of instructions that will be emitted.
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/arm/arm.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 27e4e6f..8e59be0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index e2ab102..7f0dc6b 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -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]";