Speed tests: [ RUN ] C/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 316 us Hadamard8x8[ 10000000 runs]: 311749 us [ OK ] C/HadamardHighbdTest.DISABLED_Speed/0 (371 ms) [ RUN ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 Hadamard8x8[ 10 runs]: 0 us Hadamard8x8[ 10000 runs]: 161 us Hadamard8x8[ 10000000 runs]: 156910 us [ OK ] AVX2/HadamardHighbdTest.DISABLED_Speed/0 (160 ms)
Showing the changes to test (1 of 3 files). Show all
Unified · Split
| @@ -306,5 +306,12 @@ INSTANTIATE_TEST_CASE_P( · 305 unmodified lines | |||
| 306 | ::testing::Values(HadamardFuncWithSize(&vpx_highbd_hadamard_8x8_c, 8), | 306 | ::testing::Values(HadamardFuncWithSize(&vpx_highbd_hadamard_8x8_c, 8), |
| 307 | HadamardFuncWithSize(&vpx_highbd_hadamard_16x16_c, 16), | 307 | HadamardFuncWithSize(&vpx_highbd_hadamard_16x16_c, 16), |
| 308 | HadamardFuncWithSize(&vpx_highbd_hadamard_32x32_c, 32))); | 308 | HadamardFuncWithSize(&vpx_highbd_hadamard_32x32_c, 32))); |
| 309 | |||
| 310 | #if HAVE_AVX2 | ||
| 311 | INSTANTIATE_TEST_CASE_P( | ||
| 312 | AVX2, HadamardHighbdTest, | ||
| 313 | ::testing::Values(HadamardFuncWithSize(&vpx_highbd_hadamard_8x8_avx2, 8))); | ||
| 314 | #endif // HAVE_AVX2 | ||
| 315 | |||
| 309 | #endif // CONFIG_VP9_HIGHBITDEPTH | 316 | #endif // CONFIG_VP9_HIGHBITDEPTH |
| 310 | } // namespace | 317 | } // namespace |