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]: Check for SSE2 hardware for x86 costmodel tests


Hello!

We need to check for SSE2 hardware, before runnin runtime tests in
vect/costmodel directory.
(patch includes additional check for sse-17.c + some whitespace changes).

2008-03-25  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.target/i386/sse-17.c: Include sse2-check.h.
	(main): Change to void and rename to sse2_test.
	* gcc.dg/vect/costmodel/i386/i386-costmodel-vect.exp: Set
	dg-do-what-default to "compile" if SSE2 hardware is not available.
	* gcc.dg/vect/costmodel/i386/x86_64-costmodel-vect.exp: Ditto.
	* gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: Remove
	xfail vect_no_int_max from "vectorization not profitable" check.

Patch was tested on i686-pc-linux-gnu.

Uros.

Attachment: p.diff.txt
Description: Text document


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