about summary refs log tree commit diff
path: root/sysdeps/x86/tst-get-cpu-features.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-10-08 08:24:47 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-10-09 11:52:30 -0700
commitebe454bcca6a5421512ad228595a5391506e990a (patch)
tree5f3ea083e9d1717ff7437eb24e353c697a4234d4 /sysdeps/x86/tst-get-cpu-features.c
parent7674695cf7e28528be7243ceb30c9a600bbaa7b5 (diff)
downloadglibc-ebe454bcca6a5421512ad228595a5391506e990a.tar.gz
glibc-ebe454bcca6a5421512ad228595a5391506e990a.tar.xz
glibc-ebe454bcca6a5421512ad228595a5391506e990a.zip
<sys/platform/x86.h>: Add AVX512_FP16 support
Add AVX512_FP16 support to <sys/platform/x86.h>.
Diffstat (limited to 'sysdeps/x86/tst-get-cpu-features.c')
-rw-r--r--sysdeps/x86/tst-get-cpu-features.c2
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 d160f7c7a1..7262c3a3fa 100644
--- a/sysdeps/x86/tst-get-cpu-features.c
+++ b/sysdeps/x86/tst-get-cpu-features.c
@@ -191,6 +191,7 @@ do_test (void)
   CHECK_CPU_FEATURE (PCONFIG);
   CHECK_CPU_FEATURE (IBT);
   CHECK_CPU_FEATURE (AMX_BF16);
+  CHECK_CPU_FEATURE (AVX512_FP16);
   CHECK_CPU_FEATURE (AMX_TILE);
   CHECK_CPU_FEATURE (AMX_INT8);
   CHECK_CPU_FEATURE (IBRS_IBPB);
@@ -345,6 +346,7 @@ do_test (void)
   CHECK_CPU_FEATURE_USABLE (TSXLDTRK);
   CHECK_CPU_FEATURE_USABLE (PCONFIG);
   CHECK_CPU_FEATURE_USABLE (AMX_BF16);
+  CHECK_CPU_FEATURE_USABLE (AVX512_FP16);
   CHECK_CPU_FEATURE_USABLE (AMX_TILE);
   CHECK_CPU_FEATURE_USABLE (AMX_INT8);
   CHECK_CPU_FEATURE_USABLE (IBRS_IBPB);