-
Notifications
You must be signed in to change notification settings - Fork 273
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 CLMUL instruction set #318
Comments
Would From the clang docs:
This would need:
Inconsistency: The Intel spec states this intrinsic lowers to
|
From |
If I understand everything correctly, yes, as other 4 mnemonics are equivalent to using PCLMULQDQ with |
So if somebody wants to give this a try I can mentor. It gives a pretty good overview of stdsimd and is an easy issue to solve. I am bad at making time estimates, but 90% of the work can be probably be done in 1-2 hours (maybe less, depending on how much Rust experience one has). The last 10% of the work involves letting the travis build bots run (they take a while) and fixing any potential issues on the |
Relevant `stdsimd` [issue](rust-lang/stdarch#318).
I've wrote a draft PRs (linked above). I've used |
…hitelist pclmulqdq x86 feature flag Relevant `stdsimd` [issue](rust-lang/stdarch#318).
Whitelist pclmulqdq x86 feature flag Relevant `stdsimd` [issue](rust-lang/stdarch#318).
Whitelist pclmulqdq x86 feature flag Relevant `stdsimd` [issue](rust-lang/stdarch#318).
Carry-less Multiplication (CLMUL) allows to improve the speed of applications doing block cipher encryption in Galois/Counter Mode, which depends on finite field GF(2^k) multiplication. Another application is the fast calculation of CRC values, including those used to implement the LZ77 sliding window DEFLATE algorithm in zlib and pngcrush. (wiki)
The text was updated successfully, but these errors were encountered: