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, committed]: Add mmx-check.h, sse-check.h, sse4a-check.h to gcc.target/i386


Hello!

Attached patch changes all remaining files of gcc.target/i386/* to use
new SSE checking infrastructure, introduced by H.J. some time ago.
Patch can be reviewed at [1], but it is mostly removing main() and
including relevant .h files in the tests.

Patch was checked by running the testsuite on i686-pc-linux-gnu. Patch
is committed to SVN.

FWIW, i386-cpuid.h can now be moved to gcc.target/i386 directory
without any problems. There are two users outside gcc.dg/target/i386
that need to be updated, otherwise everything uses i386-cpuid.h
indirectly now.

2007-09-04  Uros Bizjak  <ubizjak@gmail.com>

	* gcc.target/i386/sse4a-check.h: New file.
	* gcc.target/i386/sse4a-extract.c: Include sse4a-check.h. Remove main.
	* gcc.target/i386/sse4a-insert.c: Ditto.
	* gcc.target/i386/sse4a-montsd.c: Ditto.
	* gcc.target/i386/sse4a-montss.c: Ditto.
	* gcc.target/i386/mmx-check.h: New file.
	* gcc.target/i386/mmx-4.c: Include mmx-check.h. Remove main.
	* gcc.target/i386/builtin-apply-mmx.c: Ditto.
	* gcc.target/i386/sse-check.h: New file.
	* gcc.target/i386/pr13685: Include sse-check.h. Remove main.
	* gcc.target/i386/sse-3.c: Ditto.
	* gcc.target/i386/sse-7.c: Ditto.
	* gcc.target/i386/sse-9.c: Ditto.
	* gcc.target/i386/ssefn-3.c: Ditto.
	* gcc.target/i386/sse-recip.c: Ditto.
	* gcc.target/i386/sse-recip-vec.c: Ditto.
	* gcc.target/i386/20020523.c: Ditto. Rename from 20020523-2.c.
	* gcc.target/i386/20020523-1.c: Remove.
	* gcc.target/i386/sse2-lrint-vec.c: Include sse2-check.h. Remove main.
	* gcc.target/i386/sse2-lrintf-vec.c: Ditto.
	* gcc.target/i386/ssefn-4.c: Ditto.
	* gcc.target/i386/sse-6.c: Ditto.
	* gcc.target/i386/sse-10.c: Ditto.
	* gcc.target/i386/sse-11.c: Ditto.
	* gcc.target/i386/sse-18.c: Ditto.
	* gcc.target/i386/fpprec-1.c: Ditto.
	* g++.dg/other/i386-1.C: Ditto.

Uros.


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