Commit 76c9058b by Roman Zhuykov Committed by Alexander Monakov

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
parent 7cbf224d
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> 2012-02-10 Richard Guenther <rguenther@suse.de>
PR translation/52193 PR translation/52193
......
...@@ -14205,6 +14205,9 @@ output_move_double (rtx *operands, bool emit, int *count) ...@@ -14205,6 +14205,9 @@ output_move_double (rtx *operands, bool emit, int *count)
output_asm_insn ("sub%?\t%0, %1, %2", otherops); output_asm_insn ("sub%?\t%0, %1, %2", otherops);
} }
if (count)
*count = 2;
if (TARGET_LDRD) if (TARGET_LDRD)
return "ldr%(d%)\t%0, [%1]"; return "ldr%(d%)\t%0, [%1]";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment