aboutsummaryrefslogtreecommitdiff
path: root/src/dsp/motion_field_projection_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dsp/motion_field_projection_test.cc')
-rw-r--r--src/dsp/motion_field_projection_test.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dsp/motion_field_projection_test.cc b/src/dsp/motion_field_projection_test.cc
index 3a47cc7..8a57696 100644
--- a/src/dsp/motion_field_projection_test.cc
+++ b/src/dsp/motion_field_projection_test.cc
@@ -63,9 +63,8 @@ class MotionFieldProjectionTest : public testing::TestWithParam<int> {
} else if (absl::StartsWith(test_case, "NEON/")) {
MotionFieldProjectionInit_NEON();
} else if (absl::StartsWith(test_case, "SSE41/")) {
- if ((GetCpuInfo() & kSSE4_1) != 0) {
- MotionFieldProjectionInit_SSE4_1();
- }
+ if ((GetCpuInfo() & kSSE4_1) == 0) GTEST_SKIP() << "No SSE4.1 support!";
+ MotionFieldProjectionInit_SSE4_1();
} else {
FAIL() << "Unrecognized architecture prefix in test case name: "
<< test_case;