summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testlauncher.cpp')
-rw-r--r--src/test/testlauncher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 24188f6ed..c8ed805a4 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -481,6 +481,7 @@ int TestLauncher::testDye()
}
#if defined __linux__ || defined __linux
+#ifdef SIMD_SUPPORTED
static void initBuffer(uint32_t *const buf,
const int sz)
{
@@ -503,7 +504,6 @@ static void calcTime(const char *const msg1,
printf("%s: %011ld\n", msg2, diff);
}
-#ifdef SIMD_SUPPORTED
#define runDyeTest(msg1, msg2, func) \
initBuffer(buf, sz); \
pal.func(buf, sz); \