* arm.md (movdi2): Copy non-reg values to DImode registers.

From-SVN: r150494
This commit is contained in:
Richard Earnshaw 2009-08-05 16:11:25 +00:00 committed by Richard Earnshaw
parent 62964ed384
commit 634fa58f77
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2009-08-05 Richard Earnshaw <rearnsha@arm.com>
* arm.md (movdi2): Copy non-reg values to DImode registers.
2009-08-05 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/40924

View File

@ -472,9 +472,9 @@
if (TARGET_THUMB1)
{
if (GET_CODE (operands[1]) != REG)
operands[1] = force_reg (SImode, operands[1]);
operands[1] = force_reg (DImode, operands[1]);
if (GET_CODE (operands[2]) != REG)
operands[2] = force_reg (SImode, operands[2]);
operands[2] = force_reg (DImode, operands[2]);
}
"
)