From 6858b928d19842fdc1a48dbd0fb1b57447da86b0 Mon Sep 17 00:00:00 2001 From: M-HT Date: Mon, 25 Sep 2023 20:45:53 +0200 Subject: [PATCH] Remove non-working MMX specialization from simde_vmin_s16 --- simde/arm/neon/min.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/simde/arm/neon/min.h b/simde/arm/neon/min.h index 08ea4d003..bbcef25f0 100644 --- a/simde/arm/neon/min.h +++ b/simde/arm/neon/min.h @@ -159,14 +159,10 @@ simde_vmin_s16(simde_int16x4_t a, simde_int16x4_t b) { a_ = simde_int16x4_to_private(a), b_ = simde_int16x4_to_private(b); - #if defined(SIMDE_X86_MMX_NATIVE) - r_.m64 = _mm_sub_pi16(a_.m64, _mm_subs_pu16(b_.m64)); - #else - SIMDE_VECTORIZE - for (size_t i = 0 ; i < (sizeof(r_.values) / sizeof(r_.values[0])) ; i++) { - r_.values[i] = (a_.values[i] < b_.values[i]) ? a_.values[i] : b_.values[i]; - } - #endif + SIMDE_VECTORIZE + for (size_t i = 0 ; i < (sizeof(r_.values) / sizeof(r_.values[0])) ; i++) { + r_.values[i] = (a_.values[i] < b_.values[i]) ? a_.values[i] : b_.values[i]; + } return simde_int16x4_from_private(r_); #endif