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

Generic, simple implementation fox xsimd::compress #981

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

serge-sans-paille
Copy link
Contributor

Related to #975

@serge-sans-paille
Copy link
Contributor Author

@avitase : current generic implementation probably under-performs, I'll check that :-)

@serge-sans-paille
Copy link
Contributor Author

faster generic version! I'll add an AVX512 version at the end of the day.

@serge-sans-paille
Copy link
Contributor Author

@luhenry : out of curiosity, is there a specific riscv instruction that could help here? I'm fine with keeping the generic implementation for riscv (just like for arm and wasm) but I'm just curious.

@serge-sans-paille serge-sans-paille merged commit d94d7dd into master Nov 28, 2023
101 checks passed
@luhenry
Copy link
Contributor

luhenry commented Nov 28, 2023

@serge-sans-paille probably the vcompress.vm instruction. See https://github.com/riscv/riscv-v-spec/blob/fc76ec73fc1dd4531360ee8f3138f79f02e8b1b0/v-spec.adoc#165-vector-compress-instruction for details

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