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
This commit is contained in:
Roman Zhuykov 2012-02-10 12:00:30 +00:00 committed by Alexander Monakov
parent 7cbf224de2
commit 76c9058b16
2 changed files with 8 additions and 0 deletions

View 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

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