diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2011-11-14 21:25:14 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2011-11-14 21:25:14 +0100 |
commit | 865d6730c280d0c6831de33a4bbba3696660e855 (patch) | |
tree | 223683da41b1725dff731fc39a6bdff03042e6aa /gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c | |
parent | d2027d2a83aedcebbcb0f70c59027712c134f3b6 (diff) | |
download | gcc-865d6730c280d0c6831de33a4bbba3696660e855.tar.gz |
avx-recip-vec.c: New test.
* gcc.target/i386/avx-recip-vec.c: New test.
* gcc.target/i386/avx-lrintf-vec.c: Ditto.
* gcc.target/i386/avx-lrint-vec.c: Ditto.
* gcc.target/i386/avx-ceilf-vec.c: Include sse4_1-ceilf-vec.c.
* gcc.target/i386/avx-ceil-vec.c: Include sse4_1-ceil-vec.c.
* gcc.target/i386/avx-floorf-vec.c: Include sse4_1-floorf-vec.c.
* gcc.target/i386/avx-floor-vec.c: Include sse4_1-floor-vec.c.
* gcc.target/i386/avx-rintf-vec.c: Include sse4_1-rintf-vec.c.
* gcc.target/i386/avx-rint-vec.c: Include sse4_1-rint-vec.c.
* gcc.target/i386/avx-roundf-vec.c: Include sse4_1-roundf-vec.c.
* gcc.target/i386/avx-round-vec.c: Include sse4_1-round-vec.c.
* gcc.target/i386/avx-truncf-vec.c: Include sse4_1-truncf-vec.c.
* gcc.target/i386/avx-trunc-vec.c: Include sse4_1-trunc-vec.c.
* gcc.target/i386/avx-copysignf-vec.c: Include sse-copysignf-vec.c.
* gcc.target/i386/avx-copysign-vec.c: Include sse2-copysign-vec.c.
From-SVN: r181364
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c index dcd36cd2b11..bb912cef955 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c @@ -3,7 +3,15 @@ /* { dg-require-effective-target sse4 } */ /* { dg-skip-if "no M_PI" { vxworks_kernel } } */ -#include "sse4_1-check.h" +#ifndef CHECK_H +#define CHECK_H "sse4_1-check.h" +#endif + +#ifndef TEST +#define TEST sse4_1_test +#endif + +#include CHECK_H #include <math.h> @@ -36,7 +44,7 @@ init_src (double *src) static void __attribute__((__target__("fpmath=387"))) -sse4_1_test (void) +TEST (void) { double a[NUM]; double r[NUM]; |