simde icon indicating copy to clipboard operation
simde copied to clipboard

wasm fallback for _mm_alignr_epi8()?

Open liquidaty opened this issue 1 year ago • 4 comments

Hi,

Could anyone help me to construct a wasm fallback for _mm_alignr_epi8() (using emscripten)?

I see from https://emscripten.org/docs/porting/simd.html that it can be "emulated with a SIMD or+two shifts". However, not being particularly versed in SIMD operations, I'm not sure how to translate this into actual code.

Any suggestions as to how to exactly emulate _mm_alignr_epi8() in wasm?

liquidaty avatar Sep 21 '22 19:09 liquidaty