sse4.1: add NEON implementatio of simde_mm_testc_si128
@@ -1924,6 +1924,10 @@ simde_mm_testc_si128 (simde__m128i a, simde__m128i b) {
a_ = simde__m128i_to_private(a),
b_ = simde__m128i_to_private(b);
+ #if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
+ int64x2_t s64 = vandq_s64(~a_.neon_i64, b_.neon_i64);
+ return !(vgetq_lane_s64(s64, 0) & vgetq_lane_s64(s64, 1));
+ #else
int_fast32_t r = 0;
SIMDE_VECTORIZE_REDUCTION(|:r)
@@ -1933,6 +1937,7 @@ simde_mm_testc_si128 (simde__m128i a, simde__m128i b) {
return HEDLEY_STATIC_CAST(int, !r);
#endif
+#endif
}
#if defined(SIMDE_X86_SSE4_1_ENABLE_NATIVE_ALIASES)
#undef _mm_testc_si128
