i386.h (ix86_tune_indices): Add X86_USE_VECTOR_CONVERTS.
authorJan Hubicka <jh@suse.cz>
Sun, 9 Sep 2007 17:39:28 +0000 (19:39 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Sun, 9 Sep 2007 17:39:28 +0000 (17:39 +0000)
commit4845dbb50ed31ad03c579364e4b70bbe90e7af99
tree54efc7ad309d5c940ce7d7c3e75970aa1e595b29
parente9f91f6220e75cceed0abfe663bdf8d9ff51682b
i386.h (ix86_tune_indices): Add X86_USE_VECTOR_CONVERTS.

* i386.h (ix86_tune_indices): Add X86_USE_VECTOR_CONVERTS.
(TARGET_USE_VECTOR_CONVERTS): New.
* i386.md: New post-reload splitters for converting SF to DF and DF to
SF.
(floatsi* expander): Special case vector conversions.
(floatsisf2_mixed_vector, floatsisf2_sse_vector_nointernunit,
floatsisf2_sse_vector_internunit, floatsisf2_sse_vector,
floatsidf2_mixed_vector, floatsidf2_sse_vector): New.
(floatsisf2_mixed, floatsisf2_sse, floatsidf2_mixed, floatsidf2_sse):
Disable when doing vector converts.
(floatsi<mode>2_i387): Disable when
* sse.md (vec_dupv2df): Export.
* i386.c (ix86_tune_features): Enable SSE conversions.

Co-Authored-By: Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
From-SVN: r128301
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/config/i386/i386.h
gcc/config/i386/i386.md
gcc/config/i386/sse.md