-
Notifications
You must be signed in to change notification settings - Fork 346
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 LLVM x86 gfni intrinsics #3895
Conversation
@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! Are these the (in)famous NSA instructions in the x86 instruction set? They surely look sufficiently obscure. ;)
Unfortunately, what these instructions do is complete gibberish to me. Like, I know the basics of finite ring/field arithmetic, but I stare at the test file and nothing makes any sense.^^ This requires already knowing what all these instructions do to make any sense of -- which I don't, and I won't have the time to learn these either. Is there any way to make this test file a bit more approachable to someone who knows Rust and rings "modulo N" but nothing else? By adding comments that map all the Intel idiosyncrasies to something that makes mathematical sense, or so?
7f251b3
to
0478473
Compare
Looks good, as far as I can tell... I still don't understand most of this code, but worst-case we get some complains that the intrinsics are doing the wrong thing. ;) Thanks for the PR! |
☀️ Test successful - checks-actions |
No description provided.