Commit 6f06ca66 authored by Ilya Maykov's avatar Ilya Maykov Committed by Facebook GitHub Bot

add support for VAES and VPCLMULQDQ CPUID flags

Summary: Add support for detecting x86_64 vectorized AES (VAES) and vectorized carry-less multiplication (VPCLMULQDQ) CPU flags.

Reviewed By: yfeldblum

Differential Revision: D21271564

fbshipit-source-id: 08be20c07d6dfb562b8a0c1e86b77a9a416445fb
parent 257e0716
......@@ -204,6 +204,8 @@ class CpuId {
#define FOLLY_DETAIL_CPUID_C(name, bit) FOLLY_DETAIL_CPUID_X(name, f7c_, bit)
FOLLY_DETAIL_CPUID_C(prefetchwt1, 0)
FOLLY_DETAIL_CPUID_C(avx512vbmi, 1)
FOLLY_DETAIL_CPUID_C(vaes, 9)
FOLLY_DETAIL_CPUID_C(vpclmulqdq, 10)
#undef FOLLY_DETAIL_CPUID_C
#undef FOLLY_DETAIL_CPUID_X
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment