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/sys | |
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/sys')
-rw-r--r-- | sysdeps/x86/sys/platform/x86.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/x86/sys/platform/x86.h b/sysdeps/x86/sys/platform/x86.h index 394f1c41a6..3ef92b04e8 100644 --- a/sysdeps/x86/sys/platform/x86.h +++ b/sysdeps/x86/sys/platform/x86.h @@ -313,6 +313,9 @@ extern const struct cpu_features *__x86_get_cpu_features (unsigned int) /* EAX. */ #define bit_cpu_AVX_VNNI (1u << 4) #define bit_cpu_AVX512_BF16 (1u << 5) +#define bit_cpu_FZLRM (1u << 10) +#define bit_cpu_FSRS (1u << 11) +#define bit_cpu_FSRCS (1u << 12) #define bit_cpu_HRESET (1u << 22) /* COMMON_CPUID_INDEX_19. */ @@ -534,6 +537,9 @@ extern const struct cpu_features *__x86_get_cpu_features (unsigned int) /* EAX. */ #define index_cpu_AVX_VNNI COMMON_CPUID_INDEX_7_ECX_1 #define index_cpu_AVX512_BF16 COMMON_CPUID_INDEX_7_ECX_1 +#define index_cpu_FZLRM COMMON_CPUID_INDEX_7_ECX_1 +#define index_cpu_FSRS COMMON_CPUID_INDEX_7_ECX_1 +#define index_cpu_FSRCS COMMON_CPUID_INDEX_7_ECX_1 #define index_cpu_HRESET COMMON_CPUID_INDEX_7_ECX_1 /* COMMON_CPUID_INDEX_19. */ @@ -755,6 +761,9 @@ extern const struct cpu_features *__x86_get_cpu_features (unsigned int) /* EAX. */ #define reg_AVX_VNNI eax #define reg_AVX512_BF16 eax +#define reg_FZLRM eax +#define reg_FSRS eax +#define reg_FSRCS eax #define reg_HRESET eax /* COMMON_CPUID_INDEX_19. */ |