Closed Nilstrieb closed 6 months ago
This reduces the amount of duplicated code and the chance for bugs.
Sorta replaces #1442. I'm not very happy with how it turned out, but it looks mostly decent I think.
Also adds new support for _mm_packs_epi16, _mm256_packs_epi16 and _mm256_packus_epi32.
_mm_packs_epi16
_mm256_packs_epi16
_mm256_packus_epi32
For reference, here's a table of all the instructions:
Thanks!
This reduces the amount of duplicated code and the chance for bugs.
Sorta replaces #1442. I'm not very happy with how it turned out, but it looks mostly decent I think.
Also adds new support for
_mm_packs_epi16
,_mm256_packs_epi16
and_mm256_packus_epi32
.For reference, here's a table of all the instructions: