| Index: unit_test/cpu_test.cc
|
| diff --git a/unit_test/cpu_test.cc b/unit_test/cpu_test.cc
|
| index b084c0a1f48e56352e3a9c503385d4eea28103eb..4f60eb1285afba7375035c10bb5ba8fd8fbf76d2 100644
|
| --- a/unit_test/cpu_test.cc
|
| +++ b/unit_test/cpu_test.cc
|
| @@ -54,7 +54,16 @@ TEST_F(LibYUVBaseTest, TestCpuHas) {
|
| printf("Has MIPS DSPR2 %x\n", has_mips_dspr2);
|
| }
|
|
|
| -TEST_F(LibYUVBaseTest, TestCompilerHasAVX2) {
|
| +TEST_F(LibYUVBaseTest, TestCpuCompilerEnabled) {
|
| +#if defined(__aarch64__)
|
| + printf("Arm64 build\n");
|
| +#endif
|
| +#if defined(__aarch64__) || defined(__ARM_NEON__) || defined(LIBYUV_NEON)
|
| + printf("Neon build enabled\n");
|
| +#endif
|
| +#if defined(__x86_64__) || defined(_M_X64)
|
| + printf("x64 build\n");
|
| +#endif
|
| #ifdef _MSC_VER
|
| printf("_MSC_VER %d\n", _MSC_VER);
|
| #endif
|
|
|