diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-07-26 08:20:16 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-07-27 08:42:32 -0700 |
commit | 1547d6a64f4b981a06fd46ee446425a32558f2d0 (patch) | |
tree | 04c1d9b268be4d36880792b115c88ebe135dd6d9 /sysdeps/x86/tst-get-cpu-features.c | |
parent | c8c8dbbf279b0ebaed3e871f626ba7dde876d247 (diff) | |
download | glibc-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/tst-get-cpu-features.c')
-rw-r--r-- | sysdeps/x86/tst-get-cpu-features.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-get-cpu-features.c b/sysdeps/x86/tst-get-cpu-features.c index 1bd7e0be53..b27fa7324a 100644 --- a/sysdeps/x86/tst-get-cpu-features.c +++ b/sysdeps/x86/tst-get-cpu-features.c @@ -219,6 +219,7 @@ do_test (void) CHECK_CPU_FEATURE_PRESENT (AVX_NE_CONVERT); CHECK_CPU_FEATURE_PRESENT (AMX_COMPLEX); CHECK_CPU_FEATURE_PRESENT (PREFETCHI); + CHECK_CPU_FEATURE_PRESENT (APX_F); CHECK_CPU_FEATURE_PRESENT (AESKLE); CHECK_CPU_FEATURE_PRESENT (WIDE_KL); CHECK_CPU_FEATURE_PRESENT (PTWRITE); @@ -390,6 +391,7 @@ do_test (void) CHECK_CPU_FEATURE_ACTIVE (AVX_NE_CONVERT); CHECK_CPU_FEATURE_ACTIVE (AMX_COMPLEX); CHECK_CPU_FEATURE_ACTIVE (PREFETCHI); + CHECK_CPU_FEATURE_ACTIVE (APX_F); CHECK_CPU_FEATURE_ACTIVE (AESKLE); CHECK_CPU_FEATURE_ACTIVE (WIDE_KL); CHECK_CPU_FEATURE_ACTIVE (PTWRITE); |