-
Notifications
You must be signed in to change notification settings - Fork 349
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
add support for pclmulqdq
intrinsic
#3640
Conversation
61312da
to
2266db9
Compare
pclmulqdq
pclmulqdq
intrinsic
@rustbot ready |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
is my method for decomposing a __m128i into two separate i64 values allright?
A transmute is one option; just accessing the two fields would also work but would rely on the way that type is declared. I think we already have similar transmutes for other x86 intrinsics, so this is fine.
@rustbot author |
b580ae6
to
0652638
Compare
1dcc98b
to
9a5cce7
Compare
@rustbot ready |
In future please avoid force-pushing (except when there are conflicts that need resolving) until the PR is done. Github is pretty bad at keeping track of force-pushes, making it basically impossible to tell what changed since my last review. |
Thanks. :-) @bors r+ |
☀️ Test successful - checks-actions |
This instruction is required in fast implementations of the crc32 checksum algorithm, and used in the https://crates.io/crates/crc32fast and https://crates.io/crates/zlib-rs crates.
Some questions from my side
__m128i
into two separatei64
values allright?