Skip to content

Commit d5381cc

Browse files
committed
tools headers cpufeatures: Sync with the kernel sources
To pick the changes from: 690a757 ("kvm: x86: Add CPUID support for Intel AMX") This only causes these perf files to be rebuilt: CC /tmp/build/perf/bench/mem-memcpy-x86-64-asm.o CC /tmp/build/perf/bench/mem-memset-x86-64-asm.o And addresses this perf build warning: Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' differs from latest version at 'arch/x86/include/asm/cpufeatures.h' diff -u tools/arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/cpufeatures.h Cc: Jing Liu <jing2.liu@intel.com> Cc: Paolo Bonzini <pbonzini@redhat.com> Link: https://lore.kernel.org/lkml/YflQCEO9FRLeTmlB@kernel.org/ Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 88443d3 commit d5381cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/arch/x86/include/asm/cpufeatures.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,9 @@
299299
/* Intel-defined CPU features, CPUID level 0x00000007:1 (EAX), word 12 */
300300
#define X86_FEATURE_AVX_VNNI (12*32+ 4) /* AVX VNNI instructions */
301301
#define X86_FEATURE_AVX512_BF16 (12*32+ 5) /* AVX512 BFLOAT16 instructions */
302+
#define X86_FEATURE_AMX_BF16 (18*32+22) /* AMX bf16 Support */
302303
#define X86_FEATURE_AMX_TILE (18*32+24) /* AMX tile Support */
304+
#define X86_FEATURE_AMX_INT8 (18*32+25) /* AMX int8 Support */
303305

304306
/* AMD-defined CPU features, CPUID level 0x80000008 (EBX), word 13 */
305307
#define X86_FEATURE_CLZERO (13*32+ 0) /* CLZERO instruction */

0 commit comments

Comments
 (0)