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 VAES #5690

Open
solardiz opened this issue Mar 9, 2025 · 0 comments
Open

Use VAES #5690

solardiz opened this issue Mar 9, 2025 · 0 comments

Comments

@solardiz
Copy link
Member

solardiz commented Mar 9, 2025

According to https://en.wikipedia.org/wiki/AVX-512#VAES "introduced with Ice Lake" are EVEX-encoded forms of AES-NI and "The wider than 128-bit variations of the instruction perform the same operation on each 128-bit portion of input registers." We could use them where parallelism permits (or bring parallelism down from higher levels by increasing "keys per crypt" accordingly).

We currently do use instructions that look vaes* in (dis)assembly, but those are VEX-encoded 128-bit (supported along with the original AVX, so on older CPUs too), not EVEX and not wider (supported only on recent CPUs on top of AVX-512).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant