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]";