Commit 1698bba1 by Jan Hubicka Committed by Jan Hubicka

i386.md (fixsfsi2, fixdfdi2): Force operand to register for SSE.


	* i386.md (fixsfsi2, fixdfdi2): Force operand to register
	for SSE.

From-SVN: r39636
parent 1deaa899
Tue Feb 13 16:32:20 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.md (fixsfsi2, fixdfdi2): Force operand to register
for SSE.
Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz> Tue Feb 13 14:53:16 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2) * i386.md (add?f3, sub?f3, mul?f3, dif?f3): Enable for TARGET_SSE(2)
......
...@@ -4049,6 +4049,7 @@ ...@@ -4049,6 +4049,7 @@
{ {
if (TARGET_SSE2) if (TARGET_SSE2)
{ {
operands[0] = force_reg (SImode, operands[0]);
emit_insn (gen_fix_truncdfsi_sse (operands[0], operands[1])); emit_insn (gen_fix_truncdfsi_sse (operands[0], operands[1]));
DONE; DONE;
} }
...@@ -4070,6 +4071,7 @@ ...@@ -4070,6 +4071,7 @@
{ {
if (TARGET_SSE2) if (TARGET_SSE2)
{ {
operands[0] = force_reg (SImode, operands[0]);
emit_insn (gen_fix_truncsfsi_sse (operands[0], operands[1])); emit_insn (gen_fix_truncsfsi_sse (operands[0], operands[1]));
DONE; DONE;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment