public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 0/2] x86: Add thresholds for "rep movsb/stosb" to tunables
@ 2020-07-03 17:52 H.J. Lu
  2020-07-03 17:52 ` [PATCH 1/2] Update tunable min/max values H.J. Lu
  2020-07-03 17:52 ` [PATCH 2/2] x86: Add thresholds for "rep movsb/stosb" to tunables H.J. Lu
  0 siblings, 2 replies; 14+ messages in thread
From: H.J. Lu @ 2020-07-03 17:52 UTC (permalink / raw)
  To: libc-alpha

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2020-07-06 18:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-03 17:52 [PATCH 0/2] x86: Add thresholds for "rep movsb/stosb" to tunables H.J. Lu
2020-07-03 17:52 ` [PATCH 1/2] Update tunable min/max values H.J. Lu
2020-07-03 19:49   ` Carlos O'Donell
2020-07-03 23:09     ` V2 " H.J. Lu
2020-07-06 12:47       ` Carlos O'Donell
2020-07-06 13:13         ` H.J. Lu
2020-07-06 13:15           ` Carlos O'Donell
2020-07-06 13:42             ` H.J. Lu
2020-07-03 17:52 ` [PATCH 2/2] x86: Add thresholds for "rep movsb/stosb" to tunables H.J. Lu
2020-07-03 19:49   ` Carlos O'Donell
2020-07-04 12:03     ` V2 [PATCH] " H.J. Lu
2020-07-06 12:59       ` Carlos O'Donell
2020-07-06 16:44         ` V3 " H.J. Lu
2020-07-06 18:18           ` Carlos O'Donell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).