about summary refs log tree commit diff
path: root/sysdeps/x86/bits
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2023-07-26 08:20:16 -0700
committerH.J. Lu <hjl.tools@gmail.com>2023-07-27 08:42:32 -0700
commit1547d6a64f4b981a06fd46ee446425a32558f2d0 (patch)
tree04c1d9b268be4d36880792b115c88ebe135dd6d9 /sysdeps/x86/bits
parentc8c8dbbf279b0ebaed3e871f626ba7dde876d247 (diff)
downloadglibc-1547d6a64f4b981a06fd46ee446425a32558f2d0.tar.gz
glibc-1547d6a64f4b981a06fd46ee446425a32558f2d0.tar.xz
glibc-1547d6a64f4b981a06fd46ee446425a32558f2d0.zip
<sys/platform/x86.h>: Add APX support
Add support for Intel Advanced Performance Extensions:

https://www.intel.com/content/www/us/en/developer/articles/technical/advanced-performance-extensions-apx.html

to <sys/platform/x86.h>.
Diffstat (limited to 'sysdeps/x86/bits')
-rw-r--r--sysdeps/x86/bits/platform/x86.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/bits/platform/x86.h b/sysdeps/x86/bits/platform/x86.h
index 6555f9b91d..88ca071aa7 100644
--- a/sysdeps/x86/bits/platform/x86.h
+++ b/sysdeps/x86/bits/platform/x86.h
@@ -312,6 +312,7 @@ enum
   x86_cpu_AVX_NE_CONVERT	= x86_cpu_index_7_ecx_1_edx + 5,
   x86_cpu_AMX_COMPLEX		= x86_cpu_index_7_ecx_1_edx + 8,
   x86_cpu_PREFETCHI		= x86_cpu_index_7_ecx_1_edx + 14,
+  x86_cpu_APX_F			= x86_cpu_index_7_ecx_1_edx + 21,
 
   x86_cpu_index_19_ebx
     = (CPUID_INDEX_19 * 8 * 4 * sizeof (unsigned int)