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

Use SIMD for decoding #10

Open
qsantos opened this issue Jun 14, 2024 · 0 comments
Open

Use SIMD for decoding #10

qsantos opened this issue Jun 14, 2024 · 0 comments

Comments

@qsantos
Copy link
Owner

qsantos commented Jun 14, 2024

morse_to_binary currently uses SWAR to convert each Morse symbol of a character into a bit. The 64-bit multiplication is problematic for SSE and AVX ISAs. However, the carry-less instruction from AVX-512 might allow us to perform SWAR within each lane of a SIMD register.

With that being said, the main issue is with gathering the Morse symbols of each character in a separate lane. Something might be done with the expand instruction from AVX-512.

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

No branches or pull requests

1 participant