* i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
From-SVN: r39642
This commit is contained in:
parent
f3b43865ac
commit
b1675dbd66
|
@ -1,3 +1,7 @@
|
|||
Tue Feb 13 20:59:22 CET 2001 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* i386.md (fixsfsi2, fixdfdi2): Fix previous patch.
|
||||
|
||||
Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* i386.md (fixsfsi2, fixdfdi2): Force operand to register
|
||||
|
|
|
@ -4049,8 +4049,10 @@
|
|||
{
|
||||
if (TARGET_SSE2)
|
||||
{
|
||||
operands[0] = force_reg (SImode, operands[0]);
|
||||
emit_insn (gen_fix_truncdfsi_sse (operands[0], operands[1]));
|
||||
rtx out = force_reg (SImode, operands[0]);
|
||||
emit_insn (gen_fix_truncdfsi_sse (out, operands[1]));
|
||||
if (out != operands[0])
|
||||
emit_move_insn (operands[0], out);
|
||||
DONE;
|
||||
}
|
||||
else
|
||||
|
@ -4071,8 +4073,10 @@
|
|||
{
|
||||
if (TARGET_SSE2)
|
||||
{
|
||||
operands[0] = force_reg (SImode, operands[0]);
|
||||
emit_insn (gen_fix_truncsfsi_sse (operands[0], operands[1]));
|
||||
rtx out = force_reg (SImode, operands[0]);
|
||||
emit_insn (gen_fix_truncdfsi_sse (out, operands[1]));
|
||||
if (out != operands[0])
|
||||
emit_move_insn (operands[0], out);
|
||||
DONE;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue