summaryrefslogtreecommitdiff
path: root/test/hadamard_test.cc
diff options
context:
space:
mode:
authorScott LaVarnway <slavarnway@google.com>2017-10-18 17:12:57 -0700
committerScott LaVarnway <slavarnway@google.com>2017-10-18 18:00:00 -0700
commit55c126a5d72900816aded997e6ebc9098283a5c2 (patch)
treef9b1ef9c23b608b6c84872184dd6ed7a877db56e /test/hadamard_test.cc
parent12df8407777a4fdd89317582ec0e5195e133161a (diff)
downloadlibvpx-55c126a5d72900816aded997e6ebc9098283a5c2.tar.gz
libvpx-55c126a5d72900816aded997e6ebc9098283a5c2.tar.bz2
libvpx-55c126a5d72900816aded997e6ebc9098283a5c2.zip
vpx: [x86] add vpx_hadamard_16x16_avx2()
This version is ~1.91x faster than the sse2 version. When highbitdepth is enabled, it is ~1.74x. Change-Id: I2b0e92ede9f55c6259ca07bf1f8c8a5d0d0955bd
Diffstat (limited to 'test/hadamard_test.cc')
-rw-r--r--test/hadamard_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/hadamard_test.cc b/test/hadamard_test.cc
index a55b15ad0..eacd84635 100644
--- a/test/hadamard_test.cc
+++ b/test/hadamard_test.cc
@@ -268,6 +268,11 @@ INSTANTIATE_TEST_CASE_P(SSE2, Hadamard16x16Test,
::testing::Values(&vpx_hadamard_16x16_sse2));
#endif // HAVE_SSE2
+#if HAVE_AVX2
+INSTANTIATE_TEST_CASE_P(AVX2, Hadamard16x16Test,
+ ::testing::Values(&vpx_hadamard_16x16_avx2));
+#endif // HAVE_AVX2
+
#if HAVE_VSX
INSTANTIATE_TEST_CASE_P(VSX, Hadamard16x16Test,
::testing::Values(&vpx_hadamard_16x16_vsx));