DLTcollab / sse2neon

A translator from Intel SSE intrinsics to Arm/Aarch64 NEON implementation
MIT License
1.3k stars 208 forks source link

Implement the rest of the shift intrinsic functions #20

Closed marktwtn closed 3 years ago

marktwtn commented 4 years ago

The following shift intrinsic functions are not implemented yet.

However, the related shift intrinsic functions of x86 and ARM have different behaviour when the shift value is too large . Please check the discussion in https://github.com/DLTcollab/sse2neon/pull/17#discussion_r374810457.

marktwtn commented 3 years ago

The _mm_sllv_epi*, _mm_srlv_epi* and _mm_srav_epi* are not included in SSE. Hence, we should ignore them.

After I implement the lacking tests of _mm_sll_epi*, _mm_srl_epi* and _mm_sra_epi*, the issue should be closed.