From 76c9058b16afd55322d6f400f3ebf6072164eb35 Mon Sep 17 00:00:00 2001 From: Roman Zhuykov Date: Fri, 10 Feb 2012 12:00:30 +0000 Subject: [PATCH] arm.c (output_move_double): In one case properly count number of instructions that will be emitted. 2012-02-10 Roman Zhuykov * config/arm/arm.c (output_move_double): In one case properly count number of instructions that will be emitted. From-SVN: r184088 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 27e4e6fa4d3..8e59be03f92 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-02-10 Roman Zhuykov + + * config/arm/arm.c (output_move_double): In one case properly + count number of instructions that will be emitted. + 2012-02-10 Richard Guenther PR translation/52193 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index e2ab10229be..7f0dc6b4aa3 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]";