* i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.

From-SVN: r41121
This commit is contained in:
Jan Hubicka 2001-04-05 19:01:48 +02:00 committed by Jan Hubicka
parent 32ee7d1d8d
commit b47b4f214f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Thu Apr 5 19:00:15 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_split_long_move): Use PUT_MODE instead of change_address.
Thu Apr 5 18:25:56 CEST 2001 Jan Hubicka <jh@suse.cz>
* i386.c (function_arg): Return constm1_rtx for last argument.

View File

@ -6897,7 +6897,10 @@ ix86_split_long_move (operands)
&& CONSTANT_POOL_ADDRESS_P (XEXP (operands[1], 0)))
operands[1] = get_pool_constant (XEXP (operands[1], 0));
if (push_operand (operands[0], VOIDmode))
operands[0] = change_address (operands[0], DImode, XEXP (operands[0], 0));
{
operands[0] = copy_rtx (operands[0]);
PUT_MODE (operands[0], Pmode);
}
else
operands[0] = gen_lowpart (DImode, operands[0]);
operands[1] = gen_lowpart (DImode, operands[1]);