We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compress
LUT-less AVX2 (pseudo-)code for i32:
i32
const uint32_t mask = _mm256_movemask_epi8(v_reg), cnt = __builtin_popcount(mask), left_compacted = _pext_u32(0x76543210, mask), right_compacted = left_compacted << (32 - cnt);
The text was updated successfully, but these errors were encountered:
Hi, are you proposing adding a new op? One concern is that pext is super slow on older AMDs, hence we have been avoiding it.
Sorry, something went wrong.
No branches or pull requests
LUT-less AVX2 (pseudo-)code for
i32
:The text was updated successfully, but these errors were encountered: