diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-10-08 08:38:03 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-10-09 11:52:30 -0700 |
commit | c712401bc641b66d9bd558884751d8979e2e0e96 (patch) | |
tree | d8b7ea5a4bbb82c01e1b5c0dcc61c4353853c63e /sysdeps/x86/sys | |
parent | 875a50ff63b2c86af770949d563ee851d08eb46e (diff) | |
download | glibc-c712401bc641b66d9bd558884751d8979e2e0e96.tar.gz glibc-c712401bc641b66d9bd558884751d8979e2e0e96.tar.xz glibc-c712401bc641b66d9bd558884751d8979e2e0e96.zip |
<sys/platform/x86.h>: Add Intel HRESET support
Add Intel HRESET support to <sys/platform/x86.h>.
Diffstat (limited to 'sysdeps/x86/sys')
-rw-r--r-- | sysdeps/x86/sys/platform/x86.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/x86/sys/platform/x86.h b/sysdeps/x86/sys/platform/x86.h index 276de1eb6b..394f1c41a6 100644 --- a/sysdeps/x86/sys/platform/x86.h +++ b/sysdeps/x86/sys/platform/x86.h @@ -313,6 +313,7 @@ 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_HRESET (1u << 22) /* COMMON_CPUID_INDEX_19. */ @@ -533,6 +534,7 @@ 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_HRESET COMMON_CPUID_INDEX_7_ECX_1 /* COMMON_CPUID_INDEX_19. */ @@ -753,6 +755,7 @@ extern const struct cpu_features *__x86_get_cpu_features (unsigned int) /* EAX. */ #define reg_AVX_VNNI eax #define reg_AVX512_BF16 eax +#define reg_HRESET eax /* COMMON_CPUID_INDEX_19. */ |