From a3e61416373d4a23cc63282ea2bfbfe24383b2b4 Mon Sep 17 00:00:00 2001 From: serge-sans-paille Date: Wed, 6 Dec 2023 13:45:24 +0100 Subject: [PATCH] WIP$ --- include/xsimd/arch/xsimd_wasm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xsimd/arch/xsimd_wasm.hpp b/include/xsimd/arch/xsimd_wasm.hpp index 54cbdb170..78d838352 100644 --- a/include/xsimd/arch/xsimd_wasm.hpp +++ b/include/xsimd/arch/xsimd_wasm.hpp @@ -1276,11 +1276,11 @@ namespace xsimd { // shuffle within lane if (I0 < 2 && I1 >= 2) - return wasm_i64x2_shuffle(x, y, I0, I1); + return wasm_i64x2_shuffle(x, y, I1, I0); // shuffle within opposite lane if (I0 >= 2 && I1 < 2) - return wasm_i64x2_shuffle(y, x, I0, I1); + return wasm_i64x2_shuffle(y, x, I1, I0); return shuffle(x, y, mask, generic {}); }