diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-10-08 08:50:44 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-09 11:52:30 -0700 |
commit | 428985c436f442e91e27173bccaf28f547233586 (patch) | |
tree | 74356bd972c02202489049dbcdcab1bd90d859dd /sysdeps/x86/tst-get-cpu-features.c | |
parent | c712401bc641b66d9bd558884751d8979e2e0e96 (diff) | |
download | glibc-428985c436f442e91e27173bccaf28f547233586.tar.gz glibc-428985c436f442e91e27173bccaf28f547233586.tar.xz glibc-428985c436f442e91e27173bccaf28f547233586.zip |
<sys/platform/x86.h>: Add FSRCS/FSRS/FZLRM support
Add Fast Short REP CMP and SCA (FSRCS), Fast Short REP STO (FSRS) and Fast Zero-Length REP MOV (FZLRM) 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.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/x86/tst-get-cpu-features.c b/sysdeps/x86/tst-get-cpu-features.c index aacaa49045..667aa27117 100644 --- a/sysdeps/x86/tst-get-cpu-features.c +++ b/sysdeps/x86/tst-get-cpu-features.c @@ -223,6 +223,9 @@ do_test (void) CHECK_CPU_FEATURE (WBNOINVD); CHECK_CPU_FEATURE (AVX_VNNI); CHECK_CPU_FEATURE (AVX512_BF16); + CHECK_CPU_FEATURE (FZLRM); + CHECK_CPU_FEATURE (FSRS); + CHECK_CPU_FEATURE (FSRCS); CHECK_CPU_FEATURE (HRESET); CHECK_CPU_FEATURE (AESKLE); CHECK_CPU_FEATURE (WIDE_KL); @@ -380,6 +383,9 @@ do_test (void) CHECK_CPU_FEATURE_USABLE (WBNOINVD); CHECK_CPU_FEATURE_USABLE (AVX_VNNI); CHECK_CPU_FEATURE_USABLE (AVX512_BF16); + CHECK_CPU_FEATURE_USABLE (FZLRM); + CHECK_CPU_FEATURE_USABLE (FSRS); + CHECK_CPU_FEATURE_USABLE (FSRCS); CHECK_CPU_FEATURE_USABLE (AESKLE); CHECK_CPU_FEATURE_USABLE (WIDE_KL); |