[clang] f6984b2 - Fix the wrong value of bit_AVXVNNI

via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 24 22:42:29 PST 2022


Author: Liu, Chen3
Date: 2022-01-25T14:41:23+08:00
New Revision: f6984b299afcbeddefe53db7ee1ce62e5d68cc4f

URL: https://github.com/llvm/llvm-project/commit/f6984b299afcbeddefe53db7ee1ce62e5d68cc4f
DIFF: https://github.com/llvm/llvm-project/commit/f6984b299afcbeddefe53db7ee1ce62e5d68cc4f.diff

LOG: Fix the wrong value of bit_AVXVNNI

Differential Revision: https://reviews.llvm.org/D118103

Added: 
    

Modified: 
    clang/lib/Headers/cpuid.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/Headers/cpuid.h b/clang/lib/Headers/cpuid.h
index 6df1b4a111726..5d262a60735f2 100644
--- a/clang/lib/Headers/cpuid.h
+++ b/clang/lib/Headers/cpuid.h
@@ -200,7 +200,7 @@
 #define bit_AMXINT8       0x02000000
 
 /* Features in %eax for leaf 7 sub-leaf 1 */
-#define bit_AVXVNNI       0x00000008
+#define bit_AVXVNNI       0x00000010
 #define bit_AVX512BF16    0x00000020
 #define bit_HRESET        0x00400000
 


        


More information about the cfe-commits mailing list