arm.md (negdi2): Use DImode if forcing a value into a register.

2009-07-26  Mikael Pettersson <mikpe@it.uu.se>

	* arm.md (negdi2): Use DImode if forcing a value into a register.

From-SVN: r150106
This commit is contained in:
Mikael Pettersson 2009-07-27 11:22:33 +02:00 committed by Richard Earnshaw
parent 98b50196d1
commit 4b89636ea4
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-07-26 Mikael Pettersson <mikpe@it.uu.se>
* arm.md (negdi2): Use DImode if forcing a value into a register.
2009-07-26 Ira Rosen <irar@il.ibm.com>
PR tree-optimization/40801

View File

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