diff options
author | Boyuan Yang <byang@debian.org> | 2023-11-27 22:46:29 -0500 |
---|---|---|
committer | Boyuan Yang <byang@debian.org> | 2023-11-27 22:46:29 -0500 |
commit | 19564cb4f77660cdb2f980ca619d4b979b9fe342 (patch) | |
tree | ff97ccd1471553f1e861c8ea747faa45a023e119 /src/dsp/motion_vector_search_test.cc | |
parent | d4dbf19f6b0181ee78034bfe4caf189d1c016998 (diff) | |
download | libgav1-19564cb4f77660cdb2f980ca619d4b979b9fe342.tar.gz libgav1-19564cb4f77660cdb2f980ca619d4b979b9fe342.tar.bz2 libgav1-19564cb4f77660cdb2f980ca619d4b979b9fe342.zip |
New upstream version 0.19.0
Diffstat (limited to 'src/dsp/motion_vector_search_test.cc')
-rw-r--r-- | src/dsp/motion_vector_search_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dsp/motion_vector_search_test.cc b/src/dsp/motion_vector_search_test.cc index a7b2ec8..5c680d6 100644 --- a/src/dsp/motion_vector_search_test.cc +++ b/src/dsp/motion_vector_search_test.cc @@ -55,9 +55,8 @@ class MotionVectorSearchTest : public testing::TestWithParam<int>, } else if (absl::StartsWith(test_case, "NEON/")) { MotionVectorSearchInit_NEON(); } else if (absl::StartsWith(test_case, "SSE41/")) { - if ((GetCpuInfo() & kSSE4_1) != 0) { - MotionVectorSearchInit_SSE4_1(); - } + if ((GetCpuInfo() & kSSE4_1) == 0) GTEST_SKIP() << "No SSE4.1 support!"; + MotionVectorSearchInit_SSE4_1(); } else { FAIL() << "Unrecognized architecture prefix in test case name: " << test_case; |