summaryrefslogtreecommitdiff
path: root/src/test/testlauncher.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 23:19:39 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 23:19:39 +0300
commited3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0 (patch)
tree9c453c7517ca6b213a0e4cb0c547beec41d5c361 /src/test/testlauncher.cpp
parent3711139801743b0bcc20384e35903a4581fe6b7a (diff)
downloadplus-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.tar.gz
plus-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.tar.bz2
plus-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.tar.xz
plus-ed3acc9c9c58f6a1e25f8d3bfea0dc8a5c90d0d0.zip
Fix compilation without simd support.
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); \