aboutsummaryrefslogtreecommitdiff
path: root/unit_test/cpu_test.cc
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2016-05-27 10:57:49 -0700
committerFrank Barchard <fbarchard@google.com>2016-05-27 10:57:49 -0700
commitade85fb55c062d759269b06050feaa1f956c80ca (patch)
tree4ab4a30624731b43edef0e6676a9ab1b0ca34b38 /unit_test/cpu_test.cc
parent942db3016a1653e66eb7935966449e06bdceb7b3 (diff)
downloadlibyuv-ade85fb55c062d759269b06050feaa1f956c80ca.tar.gz
remove row.h from unittests
add SIMD_ALIGNED to unittest header. BUG=libyuv:594 TESTED=local build passes with row.h removed from tests. R=harryjin@google.com Review URL: https://codereview.chromium.org/2001373002 .
Diffstat (limited to 'unit_test/cpu_test.cc')
-rw-r--r--unit_test/cpu_test.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/unit_test/cpu_test.cc b/unit_test/cpu_test.cc
index 5933ee44..0cd06f9b 100644
--- a/unit_test/cpu_test.cc
+++ b/unit_test/cpu_test.cc
@@ -13,7 +13,6 @@
#include "libyuv/basic_types.h"
#include "libyuv/cpu_id.h"
-#include "libyuv/row.h" // For HAS_ARGBSHUFFLEROW_AVX2.
#include "libyuv/version.h"
#include "../unit_test/unit_test.h"
@@ -68,16 +67,9 @@ printf("_MSC_VER %d\n", _MSC_VER);
#if !defined(LIBYUV_DISABLE_X86) && (defined(GCC_HAS_AVX2) || \
defined(CLANG_HAS_AVX2) || defined(VISUALC_HAS_AVX2))
printf("Has AVX2 1\n");
- // If compiler supports AVX2, the following function is expected to exist:
-#if !defined(HAS_ARGBSHUFFLEROW_AVX2)
- EXPECT_TRUE(0); // HAS_ARGBSHUFFLEROW_AVX2 was expected.
-#endif
#else
printf("Has AVX2 0\n");
// If compiler does not support AVX2, the following function not expected:
-#if defined(HAS_ARGBSHUFFLEROW_AVX2)
- EXPECT_TRUE(0); // HAS_ARGBSHUFFLEROW_AVX2 was not expected.
-#endif
#endif
}