This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, testsuite]: Committed: Skip unsupported SSE tests in gcc.target/i386 directory


Hello!

This patch implements compile-time check for ssse and sse4a support.
check_effective_target_* procedures determine toolchain support by
trying to compile the representative __builtin function from SSE
support header.

Patch was tested by running the testsuite on a non-sse4a target. Patch
is committed to SVN.

2007-05-22 Uros Bizjak <ubizjak@gmail.com>

	* gcc.target/i386/i386.exp (check_effective_target_ssse3): New.
	(check_effective_target_sse4a): Ditto.

	* gcc.target/i386/ssse3-phsubw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-phaddd.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-pabsb.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-psignb.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-phaddsw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-pabsd.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-psignd.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-pmaddubsw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-pmulhrsw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-phaddw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-phsubd.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-pabsw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-psignw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-pshufb.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-phsubsw.c: Require effective target ssse3.
	* gcc.target/i386/ssse3-palignr.c: Require effective target ssse3.
	* gcc.target/i386/sse4a-insert.c: Require effective target sse4a.
	* gcc.target/i386/sse4a-extract.c: Require effective target sse4a.
	* gcc.target/i386/sse4a-montss.c: Require effective target sse4a.
	* gcc.target/i386/sse4a-montsd.c: Require effective target sse4a.

Uros.

Attachment: i386-test-sse.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]