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

Question about SSE intrinsics #18

Closed
CeleritasCelery opened this issue Mar 3, 2023 · 2 comments
Closed

Question about SSE intrinsics #18

CeleritasCelery opened this issue Mar 3, 2023 · 2 comments

Comments

@CeleritasCelery
Copy link
Contributor

CeleritasCelery commented Mar 3, 2023

I was looking at a way to simplify the CRLF routine. I know how to do it in neon, but can't seem to figure it out in SSE. Essentially I need something like vextq_u8 that allows you shuffle elements between vectors so that I can take the bottom 8-bits of one vector and shift it into the top of another. I was going to use the shuffle commands but they only operate on 16 bit values. There doesn't even seem to be a good get/set method. A basic 8-bit set isn't even available till SEE4.1.

Perhaps you can direct me on how best to solve this with SEE1.

@cessen
Copy link
Owner

cessen commented Apr 23, 2023

Sorry for the delayed response on this!

I don't know of a way to do this off the top of my head. And indeed, x86/64 SIMD instructions are often limited in odd, arbitrary ways. So it may simply not be possible. Not sure, though.

@cessen
Copy link
Owner

cessen commented Oct 31, 2024

Addressed by #21.

@cessen cessen closed this as completed Oct 31, 2024
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

2 participants