ssse3: silence MSVC warning in simde_mm_abs_epi32
@@ -122,7 +122,14 @@ simde_mm_abs_epi32 (simde__m128i a) {
SIMDE__VECTORIZE
for (size_t i = 0 ; i < (sizeof(r_.i32) / sizeof(r_.i32[0])) ; i++) {
+ #if defined(_MSC_VER)
+ HEDLEY_DIAGNOSTIC_PUSH
+ #pragma warning(disable:4146)
+ #endif
r_.u32[i] = (a_.i32[i] < 0) ? (- HEDLEY_STATIC_CAST(uint32_t, a_.i32[i])) : HEDLEY_STATIC_CAST(uint32_t, a_.i32[i]);
+ #if defined(_MSC_VER)
+ HEDLEY_DIAGNOSTIC_POP
+ #endif
}
return simde__m128i_from_private(r_);
