diff options
Diffstat (limited to 'src/dsp/weight_mask_test.cc')
-rw-r--r-- | src/dsp/weight_mask_test.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dsp/weight_mask_test.cc b/src/dsp/weight_mask_test.cc index 74ec03c..a080ec4 100644 --- a/src/dsp/weight_mask_test.cc +++ b/src/dsp/weight_mask_test.cc @@ -223,6 +223,7 @@ class WeightMaskTest : public testing::TestWithParam<WeightMaskTestParam>, } else if (absl::StartsWith(test_case, "NEON/")) { WeightMaskInit_NEON(); } else if (absl::StartsWith(test_case, "SSE41/")) { + if ((GetCpuInfo() & kSSE4_1) == 0) GTEST_SKIP() << "No SSE4.1 support!"; WeightMaskInit_SSE4_1(); } func_ = dsp->weight_mask[width_index][height_index][mask_is_inverse_]; |