diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2023-04-05 09:21:44 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2023-04-05 14:46:10 -0700 |
commit | 81a3cc956ef4e324c83419fa6d7a559d6e762cd7 (patch) | |
tree | 38577f5fbafae8872dd03ffe1d8345e2de7f9dfb /sysdeps/x86/cpu-features.c | |
parent | b05521c916790dbaeb953fca7b979a889d868db2 (diff) | |
download | glibc-81a3cc956ef4e324c83419fa6d7a559d6e762cd7.tar.gz glibc-81a3cc956ef4e324c83419fa6d7a559d6e762cd7.tar.xz glibc-81a3cc956ef4e324c83419fa6d7a559d6e762cd7.zip |
<sys/platform/x86.h>: Add PREFETCHI support
Add PREFETCHI support to <sys/platform/x86.h>. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'sysdeps/x86/cpu-features.c')
-rw-r--r-- | sysdeps/x86/cpu-features.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c index c2bea6a32d..5bff8ec0b4 100644 --- a/sysdeps/x86/cpu-features.c +++ b/sysdeps/x86/cpu-features.c @@ -104,6 +104,7 @@ update_active (struct cpu_features *cpu_features) CPU_FEATURE_SET_ACTIVE (cpu_features, FZLRM); CPU_FEATURE_SET_ACTIVE (cpu_features, FSRS); CPU_FEATURE_SET_ACTIVE (cpu_features, FSRCS); + CPU_FEATURE_SET_ACTIVE (cpu_features, PREFETCHI); CPU_FEATURE_SET_ACTIVE (cpu_features, PTWRITE); if (!CPU_FEATURES_CPU_P (cpu_features, RTM_ALWAYS_ABORT)) |