Skip to content

Commit

Permalink
WIP$
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-sans-paille committed Dec 6, 2023
1 parent 5660ec3 commit a3e6141
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/xsimd/arch/xsimd_wasm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {});
}

Expand Down

0 comments on commit a3e6141

Please sign in to comment.