diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/sse4_1-pextrq.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/sse4_1-pextrq.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-pextrq.c b/gcc/testsuite/gcc.target/i386/sse4_1-pextrq.c index c9ff97db382..b90f4e2f12b 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-pextrq.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-pextrq.c @@ -3,7 +3,15 @@ /* { dg-require-effective-target sse4 } */ /* { dg-options "-O2 -msse4.1" } */ -#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 <smmintrin.h> @@ -11,7 +19,8 @@ #define msk1 1 static void -sse4_1_test (void) +__attribute__((noinline)) +TEST (void) { union { |