aboutsummaryrefslogtreecommitdiff
path: root/src/dsp/super_res_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dsp/super_res_test.cc')
-rw-r--r--src/dsp/super_res_test.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dsp/super_res_test.cc b/src/dsp/super_res_test.cc
index 7b253ff..0c3537c 100644
--- a/src/dsp/super_res_test.cc
+++ b/src/dsp/super_res_test.cc
@@ -96,6 +96,7 @@ class SuperResTest : public testing::TestWithParam<SuperResTestParam>,
} else if (absl::StartsWith(test_case, "NEON/")) {
SuperResInit_NEON();
} else if (absl::StartsWith(test_case, "SSE41/")) {
+ if ((GetCpuInfo() & kSSE4_1) == 0) GTEST_SKIP() << "No SSE4.1 support!";
SuperResInit_SSE4_1();
} else {
FAIL() << "Unrecognized architecture prefix in test case name: "