mbox series

[00/19] <sys/platform/x86.h>: Update CPUID features

Message ID 20230405162144.984598-1-hjl.tools@gmail.com
Headers show
Series <sys/platform/x86.h>: Update CPUID features | expand

Message

H.J. Lu April 5, 2023, 4:21 p.m. UTC
1. Rename x86_cpu_INDEX_7_ECX_1 to x86_cpu_INDEX_7_ECX_15 for the unused
bit 15 in ECX from CPUID with EAX == 0x7 and ECX == 0.
2. platform.texi: Move LAM after LAHF64_SAHF64 to sort x86 features.
3. Add more CPUID features documented in Intel Architecture Instruction
Set Extensions Programming Reference from:

https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html

H.J. Lu (19):
  <bits/platform/x86.h>: Rename to x86_cpu_INDEX_7_ECX_15
  platform.texi: Move LAM after LAHF64_SAHF64
  <sys/platform/x86.h>: Add LA57 support
  <sys/platform/x86.h>: Add BUS_LOCK_DETECT support
  <sys/platform/x86.h>: Add SGX-KEYS support
  <sys/platform/x86.h>: Add RTM_FORCE_ABORT support
  <sys/platform/x86.h>: Add LBR support
  <sys/platform/x86.h>: Add RAO-INT support
  <sys/platform/x86.h>: Add LASS support
  <sys/platform/x86.h>: Add CMPCCXADD support
  <sys/platform/x86.h>: Add ArchPerfmonExt support
  <sys/platform/x86.h>: Add WRMSRNS support
  <sys/platform/x86.h>: Add AMX-FP16 support
  <sys/platform/x86.h>: Add AVX-IFMA support
  <sys/platform/x86.h>: Add MSRLIST support
  <sys/platform/x86.h>: Add AVX-VNNI-INT8 support
  <sys/platform/x86.h>: Add AVX-NE-CONVERT support
  <sys/platform/x86.h>: Add AMX-COMPLEX support
  <sys/platform/x86.h>: Add PREFETCHI support

 manual/platform.texi               | 57 ++++++++++++++++++++++++++++--
 sysdeps/x86/bits/platform/x86.h    | 29 +++++++++++----
 sysdeps/x86/cpu-features.c         | 13 +++++++
 sysdeps/x86/include/cpu-features.h | 28 +++++++++++++++
 sysdeps/x86/tst-get-cpu-features.c | 25 +++++++++++++
 5 files changed, 144 insertions(+), 8 deletions(-)