summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/sse2-lrintf-vec.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/sse2-lrintf-vec.c')
-rw-r--r--gcc/testsuite/gcc.target/i386/sse2-lrintf-vec.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/i386/sse2-lrintf-vec.c b/gcc/testsuite/gcc.target/i386/sse2-lrintf-vec.c
index eaec22cb3a3..ee917623cbd 100644
--- a/gcc/testsuite/gcc.target/i386/sse2-lrintf-vec.c
+++ b/gcc/testsuite/gcc.target/i386/sse2-lrintf-vec.c
@@ -2,7 +2,15 @@
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse2" } */
/* { dg-require-effective-target sse2 } */
-#include "sse2-check.h"
+#ifndef CHECK_H
+#define CHECK_H "sse2-check.h"
+#endif
+
+#ifndef TEST
+#define TEST sse2_test
+#endif
+
+#include CHECK_H
extern long lrintf (float);
@@ -12,7 +20,7 @@ float a[N] = {0.4,3.5,6.6,9.4,12.5,15.6,18.4,21.5,24.6,27.4,30.5,33.6,36.4,39.5,
long r[N];
static void
-sse2_test (void)
+TEST (void)
{
int i;