[PATCH 0/2] x86: Add thresholds for "rep movsb/stosb" to tunables

H.J. Lu hjl.tools@gmail.com
Fri Jul 3 17:52:18 GMT 2020


1. Add __tunable_update_val to update tunable min/max values and move x86
processor cache info to cpu_features.
2. Add x86_rep_movsb_threshold and x86_rep_stosb_threshold to tunables
to update thresholds for "rep movsb" and "rep stosb" at run-time.

H.J. Lu (2):
  Update tunable min/max values
  x86: Add thresholds for "rep movsb/stosb" to tunables

 elf/dl-tunables.c                             |  51 +-
 elf/dl-tunables.h                             |  15 +
 manual/tunables.texi                          |  14 +
 sysdeps/i386/cacheinfo.c                      |   3 -
 sysdeps/x86/Makefile                          |   2 +-
 sysdeps/x86/cacheinfo.c                       | 870 ++--------------
 sysdeps/x86/cpu-features.c                    |  19 +-
 sysdeps/x86/cpu-features.h                    |  30 +
 sysdeps/x86/dl-cacheinfo.c                    | 926 ++++++++++++++++++
 sysdeps/x86/dl-tunables.list                  |   6 +
 sysdeps/x86/init-arch.h                       |   3 +
 .../multiarch/memmove-vec-unaligned-erms.S    |  16 +-
 .../multiarch/memset-vec-unaligned-erms.S     |  12 +-
 13 files changed, 1107 insertions(+), 860 deletions(-)
 delete mode 100644 sysdeps/i386/cacheinfo.c
 create mode 100644 sysdeps/x86/dl-cacheinfo.c

-- 
2.26.2



More information about the Libc-alpha mailing list