Commit 1d5b4e0b by Jan Hubicka Committed by Jan Hubicka

re PR target/10077 (gcc -msse2 generates movd to move dwords between xmm regs)

	PR target/10077
	* i386.md (movsi_1, movsi_nointerunit_1):  Fix SSEMOV alternative.

From-SVN: r65346
parent 60ba917e
Mon Apr 7 22:19:59 CEST 2003 Jan Hubicka <jh@suse.cz>
PR target/10077
* i386.md (movsi_1, movsi_nointerunit_1): Fix SSEMOV alternative.
2003-04-07 Eric Botcazou <ebotcazou@libertysurf.fr>
* doc/rtl.texi (Comparison operations): Update to
......
......@@ -1170,12 +1170,12 @@
switch (get_attr_type (insn))
{
case TYPE_SSEMOV:
if (get_attr_mode (insn) == TImode)
if (get_attr_mode (insn) == MODE_TI)
return "movdqa\t{%1, %0|%0, %1}";
return "movd\t{%1, %0|%0, %1}";
case TYPE_MMXMOV:
if (get_attr_mode (insn) == DImode)
if (get_attr_mode (insn) == MODE_DI)
return "movq\t{%1, %0|%0, %1}";
return "movd\t{%1, %0|%0, %1}";
......@@ -1209,12 +1209,12 @@
switch (get_attr_type (insn))
{
case TYPE_SSEMOV:
if (get_attr_mode (insn) == TImode || which_alternative == 9)
if (get_attr_mode (insn) == MODE_TI)
return "movdqa\t{%1, %0|%0, %1}";
return "movd\t{%1, %0|%0, %1}";
case TYPE_MMXMOV:
if (get_attr_mode (insn) == DImode)
if (get_attr_mode (insn) == MODE_DI)
return "movq\t{%1, %0|%0, %1}";
return "movd\t{%1, %0|%0, %1}";
......
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