diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-04-05 09:21:38 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-04-05 14:46:10 -0700 |
commit | 8b4cc05eabdb67902171d8c05a4915d14b1e5f58 (patch) | |
tree | 9a614854689deb658058c7d0cf04d478e5721d8e /sysdeps/x86/tst-get-cpu-features.c | |
parent | 227983551d3b590e1a9ed4e81d793b7f6abfadd2 (diff) | |
download | glibc-8b4cc05eabdb67902171d8c05a4915d14b1e5f58.tar.gz glibc-8b4cc05eabdb67902171d8c05a4915d14b1e5f58.tar.xz glibc-8b4cc05eabdb67902171d8c05a4915d14b1e5f58.zip |
<sys/platform/x86.h>: Add AMX-FP16 support
Add AMX-FP16 support to <sys/platform/x86.h>. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
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 9c436eaa64..c0f222cb77 100644 --- a/sysdeps/x86/tst-get-cpu-features.c +++ b/sysdeps/x86/tst-get-cpu-features.c @@ -210,6 +210,7 @@ do_test (void) CHECK_CPU_FEATURE_PRESENT (FSRS); CHECK_CPU_FEATURE_PRESENT (FSRCS); CHECK_CPU_FEATURE_PRESENT (WRMSRNS); + CHECK_CPU_FEATURE_PRESENT (AMX_FP16); CHECK_CPU_FEATURE_PRESENT (HRESET); CHECK_CPU_FEATURE_PRESENT (LAM); CHECK_CPU_FEATURE_PRESENT (AESKLE); @@ -377,6 +378,7 @@ do_test (void) CHECK_CPU_FEATURE_ACTIVE (FZLRM); CHECK_CPU_FEATURE_ACTIVE (FSRS); CHECK_CPU_FEATURE_ACTIVE (FSRCS); + CHECK_CPU_FEATURE_ACTIVE (AMX_FP16); CHECK_CPU_FEATURE_ACTIVE (AESKLE); CHECK_CPU_FEATURE_ACTIVE (WIDE_KL); CHECK_CPU_FEATURE_ACTIVE (PTWRITE); |