summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 17:18:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 17:18:51 +0300
commitc650f96afa802084c1e518d44fd648a4e8a53ae3 (patch)
tree7c59cead523c8a7877df01a2c76e5767081a9967 /src/test
parent1437254152868e8fa3f11d5b5f08dd3ee5d89ee4 (diff)
downloadmanaplus-c650f96afa802084c1e518d44fd648a4e8a53ae3.tar.gz
manaplus-c650f96afa802084c1e518d44fd648a4e8a53ae3.tar.bz2
manaplus-c650f96afa802084c1e518d44fd648a4e8a53ae3.tar.xz
manaplus-c650f96afa802084c1e518d44fd648a4e8a53ae3.zip
Fix dye speed tests.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/testlauncher.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/test/testlauncher.cpp b/src/test/testlauncher.cpp
index 35462499f..17b4809ed 100644
--- a/src/test/testlauncher.cpp
+++ b/src/test/testlauncher.cpp
@@ -519,7 +519,6 @@ static void calcTime(const char *const msg1,
int TestLauncher::testDyeSSpeed()
{
-/*
#if defined __linux__ || defined __linux
const int sz = 100000;
uint32_t buf[sz];
@@ -529,17 +528,14 @@ int TestLauncher::testDyeSSpeed()
DyePalette pal("#0000ff,000000,000020,706050", 6);
runDyeTest("dye s salt", "default time", replaceSColorDefault);
- runDyeTest("dye s salt", "simd time ", replaceSColorSimd);
runDyeTest("dye s salt", "sse2 time ", replaceSColorSse2);
runDyeTest("dye s salt", "avx2 time ", replaceSColorAvx2);
#endif // defined __linux__ || defined __linux
-*/
return 0;
}
int TestLauncher::testDyeASpeed()
{
-/*
#if defined __linux__ || defined __linux
const int sz = 100000;
uint32_t buf[sz];
@@ -549,11 +545,9 @@ int TestLauncher::testDyeASpeed()
DyePalette pal("#0000ffff,00000000,000020ff,70605040", 8);
runDyeTest("dye a salt", "default time", replaceAColorDefault);
- runDyeTest("dye a salt", "simd time ", replaceAColorSimd);
runDyeTest("dye a salt", "sse2 time ", replaceAColorSse2);
runDyeTest("dye a salt", "avx2 time ", replaceAColorAvx2);
#endif // defined __linux__ || defined __linux
-*/
return 0;
}