From 7d9a5431008b71c6b4087146b66b13f9eccf7bba Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Thu, 5 Jun 2025 20:05:38 +0000 Subject: [PATCH] vshl() will call the correct implementation --- src/nfa/shufti_simd.hpp | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/nfa/shufti_simd.hpp b/src/nfa/shufti_simd.hpp index eede8a43..38caa79a 100644 --- a/src/nfa/shufti_simd.hpp +++ b/src/nfa/shufti_simd.hpp @@ -265,19 +265,7 @@ const u8 *shuftiDoubleExecReal(m128 mask1_lo, m128 mask1_hi, m128 mask2_lo, m128 d = ROUNDUP_PTR(d, S); ptrdiff_t offset = d - buf; first_char_mask.print8("inout_c1"); - if constexpr (S == 16) { - first_char_mask = first_char_mask.vshl_128(S - offset); - } -#ifdef HAVE_SIMD_256_BITS - else if constexpr (S == 32) { - first_char_mask = first_char_mask.vshl_256(S - offset); - } -#endif -#ifdef HAVE_SIMD_512_BITS - else if constexpr (S == 64) { - first_char_mask = first_char_mask.vshl_512(S - offset); - } -#endif + first_char_mask = first_char_mask.vshl(S - offset); first_char_mask.print8("inout_c1 shifted"); }