Skip to content
New issue

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

Implement selectBits & excludeBits in C #82

Merged
merged 3 commits into from
Aug 12, 2023

Conversation

konsumlamm
Copy link
Contributor

@konsumlamm konsumlamm commented Aug 12, 2023

Add a version using popcnt/pext (0.01x) and a fallback C version (0.15x).

I also had SSE and AVX versions, but those had ugly code duplication (making them long and error prone) and the pext version is faster anyway.

@Bodigrim Bodigrim merged commit 7cffeee into Bodigrim:master Aug 12, 2023
37 checks passed
@Bodigrim
Copy link
Owner

Looks great, thanks!

@konsumlamm konsumlamm deleted the select_bits_c branch August 12, 2023 17:52
@konsumlamm konsumlamm mentioned this pull request Aug 12, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants