diff options
Diffstat (limited to 'src/dsp/warp_test.cc')
-rw-r--r-- | src/dsp/warp_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dsp/warp_test.cc b/src/dsp/warp_test.cc index c64c8d6..f93ad8b 100644 --- a/src/dsp/warp_test.cc +++ b/src/dsp/warp_test.cc @@ -275,6 +275,7 @@ class WarpTest : public testing::TestWithParam<WarpTestParam> { } else if (absl::StartsWith(test_case, "NEON/")) { WarpInit_NEON(); } else if (absl::StartsWith(test_case, "SSE41/")) { + if ((GetCpuInfo() & kSSE4_1) == 0) GTEST_SKIP() << "No SSE4.1 support!"; WarpInit_SSE4_1(); } else { FAIL() << "Unrecognized architecture prefix in test case name: " |