This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, committed]: Add mmx-check.h, sse-check.h, sse4a-check.h to gcc.target/i386
- From: "Uros Bizjak" <ubizjak at gmail dot com>
- To: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 4 Sep 2007 11:10:32 +0200
- Subject: [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.