i386.md (*floatsisf2_mixed_vector): Use cvtdq2ps instead of cvtpq2ps.

2007-09-09  H.J. Lu  <hongjiu.lu@intel.com>

	* i386.md (*floatsisf2_mixed_vector): Use cvtdq2ps instead
	of cvtpq2ps.
	(*floatsisf2_sse_vector): Likewise.

From-SVN: r128320
This commit is contained in:
H.J. Lu 2007-09-10 00:49:11 +00:00 committed by H.J. Lu
parent ac54f11d99
commit f901f85af3
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
* i386.md (*floatsisf2_mixed_vector): Use cvtdq2ps instead
of cvtpq2ps.
(*floatsisf2_sse_vector): Likewise.
2007-09-09 Krister Walfridsson <cato@df.lth.se>
* config/netbsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1.

View File

@ -4819,7 +4819,7 @@
"TARGET_MIX_SSE_I387 && !flag_trapping_math
&& TARGET_USE_VECTOR_CONVERTS && !optimize_size"
"@
cvtpq2ps\t{%1, %0|%0, %1}
cvtdq2ps\t{%1, %0|%0, %1}
fild%z1\t%1
#"
[(set_attr "type" "sseicvt,fmov,multi")
@ -4896,7 +4896,7 @@
(float:SF (match_operand:SI 1 "register_operand" "x")))]
"!flag_trapping_math && TARGET_USE_VECTOR_CONVERTS && !optimize_size
&& !TARGET_INTER_UNIT_MOVES"
"cvtpq2ps\t{%1, %0|%0, %1}"
"cvtdq2ps\t{%1, %0|%0, %1}"
[(set_attr "type" "sseicvt")
(set_attr "mode" "SF")
(set_attr "athlon_decode" "double")