diff options
Diffstat (limited to 'unit_test/cpu_test.cc')
-rw-r--r-- | unit_test/cpu_test.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/unit_test/cpu_test.cc b/unit_test/cpu_test.cc index 5be4e0c2..fbf6da92 100644 --- a/unit_test/cpu_test.cc +++ b/unit_test/cpu_test.cc @@ -37,6 +37,8 @@ TEST_F(libyuvTest, TestCpuHas) { printf("Has SSE4.2 %x\n", has_sse42); int has_avx = TestCpuFlag(kCpuHasAVX); printf("Has AVX %x\n", has_avx); + int has_avx2 = TestCpuFlag(kCpuHasAVX2); + printf("Has AVX2 %x\n", has_avx2); } #if defined(__i386__) || defined(__x86_64__) || \ |