[clang] [X86] Add missing MACROs in cpuid.h (PR #80815)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 6 04:13:09 PST 2024


================
@@ -211,7 +214,11 @@
 /* Features in %edx for leaf 7 sub-leaf 1 */
 #define bit_AVXVNNIINT8   0x00000010
 #define bit_AVXNECONVERT  0x00000020
+#define bit_AMXCOMPLEX    0x00000100
+#define bit_AVXVNNIINT16  0x00000400
 #define bit_PREFETCHI     0x00004000
+#define bit_USERMSR       0x00008000
+#define bit_AVX10_256     0x00080000
----------------
phoebewang wrote:

They are identical to check this bit or another in Host.cpp. They are different to user who check the bit through cpuid, because they have different sub leaf and different value.

https://github.com/llvm/llvm-project/pull/80815


More information about the cfe-commits mailing list