[clang] af933f0 - [clang][x86] Missing `AVX512VP2INTERSECT` flag (#111435)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 9 02:29:08 PDT 2024
Author: Ash Vardanian
Date: 2024-10-09T10:29:05+01:00
New Revision: af933f0661b0d3aed84bbe521420b83efd5b8685
URL: https://github.com/llvm/llvm-project/commit/af933f0661b0d3aed84bbe521420b83efd5b8685
DIFF: https://github.com/llvm/llvm-project/commit/af933f0661b0d3aed84bbe521420b83efd5b8685.diff
LOG: [clang][x86] Missing `AVX512VP2INTERSECT` flag (#111435)
This patch adds support for detecting the `AVX512VP2INTERSECT` ISA extension.
It's useful for Intel Tiger Lake mobile CPUs and any Zen 5 AMD CPUs.
No functional changes yet, just defining the feature flag.
Added:
Modified:
clang/lib/Headers/cpuid.h
Removed:
################################################################################
diff --git a/clang/lib/Headers/cpuid.h b/clang/lib/Headers/cpuid.h
index 82d995f1b966a3..2601aa5724f056 100644
--- a/clang/lib/Headers/cpuid.h
+++ b/clang/lib/Headers/cpuid.h
@@ -187,17 +187,18 @@
#define bit_ENQCMD 0x20000000
/* Features in %edx for leaf 7 sub-leaf 0 */
-#define bit_AVX5124VNNIW 0x00000004
-#define bit_AVX5124FMAPS 0x00000008
-#define bit_UINTR 0x00000020
-#define bit_SERIALIZE 0x00004000
-#define bit_TSXLDTRK 0x00010000
-#define bit_PCONFIG 0x00040000
-#define bit_IBT 0x00100000
-#define bit_AMXBF16 0x00400000
-#define bit_AVX512FP16 0x00800000
-#define bit_AMXTILE 0x01000000
-#define bit_AMXINT8 0x02000000
+#define bit_AVX5124VNNIW 0x00000004
+#define bit_AVX5124FMAPS 0x00000008
+#define bit_UINTR 0x00000020
+#define bit_AVX512VP2INTERSECT 0x00000100
+#define bit_SERIALIZE 0x00004000
+#define bit_TSXLDTRK 0x00010000
+#define bit_PCONFIG 0x00040000
+#define bit_IBT 0x00100000
+#define bit_AMXBF16 0x00400000
+#define bit_AVX512FP16 0x00800000
+#define bit_AMXTILE 0x01000000
+#define bit_AMXINT8 0x02000000
/* Features in %eax for leaf 7 sub-leaf 1 */
#define bit_SHA512 0x00000001
More information about the cfe-commits
mailing list