From 063185b0f3b4b28efa7a508bbdc00bb2b290eb75 Mon Sep 17 00:00:00 2001 From: sayantn Date: Wed, 21 May 2025 00:33:06 +0530 Subject: [PATCH] Add doc for keylocker target features --- src/attributes/codegen.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/attributes/codegen.md b/src/attributes/codegen.md index 750b28dca..6cdf5dd83 100644 --- a/src/attributes/codegen.md +++ b/src/attributes/codegen.md @@ -217,6 +217,7 @@ Feature | Implicitly Enables | Description `fma` | `avx` | [FMA3] --- Three-operand fused multiply-add `fxsr` | | [`fxsave`] and [`fxrstor`] --- Save and restore x87 FPU, MMX Technology, and SSE State `gfni` | `sse2` | [GFNI] --- Galois Field New Instructions +`kl` | `sse2` | [KEYLOCKER] --- Intel Key Locker Instructions `lzcnt` | | [`lzcnt`] --- Leading zeros count `movbe` | | [`movbe`] --- Move data after swapping bytes `pclmulqdq` | `sse2` | [`pclmulqdq`] --- Packed carry-less multiplication quadword @@ -232,6 +233,7 @@ Feature | Implicitly Enables | Description `ssse3` | `sse3` | [SSSE3] --- Supplemental Streaming SIMD Extensions 3 `vaes` | `avx2`, `aes` | [VAES] --- Vector AES Instructions `vpclmulqdq`| `avx`, `pclmulqdq`| [VPCLMULQDQ] --- Vector Carry-less multiplication of Quadwords +`widekl` | `kl` | [KEYLOCKER_WIDE] --- Intel Wide Keylocker Instructions `xsave` | | [`xsave`] --- Save processor extended states `xsavec` | | [`xsavec`] --- Save processor extended states with compaction `xsaveopt` | | [`xsaveopt`] --- Save processor extended states optimized @@ -270,6 +272,8 @@ Feature | Implicitly Enables | Description [`fxsave`]: https://www.felixcloutier.com/x86/fxsave [`fxrstor`]: https://www.felixcloutier.com/x86/fxrstor [GFNI]: https://en.wikipedia.org/wiki/AVX-512#GFNI +[KEYLOCKER]: https://en.wikipedia.org/wiki/List_of_x86_cryptographic_instructions#Intel_Key_Locker_instructions +[KEYLOCKER_WIDE]: https://en.wikipedia.org/wiki/List_of_x86_cryptographic_instructions#Intel_Key_Locker_instructions [`lzcnt`]: https://www.felixcloutier.com/x86/lzcnt [`movbe`]: https://www.felixcloutier.com/x86/movbe [`pclmulqdq`]: https://www.felixcloutier.com/x86/pclmulqdq