]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Fix misordered logic for setting `rep_movsb_stop_threshold`
authorNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 14 Jun 2022 20:50:11 +0000 (13:50 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 15 Jun 2022 03:58:07 +0000 (20:58 -0700)
commit035591551400cfc810b07244a015c9411e8bff7c
tree0bc9dfed85e4beb9b2735df6366b83f75dd1aa94
parent7374c02b683b7110b853a32496a619410364d70b
x86: Fix misordered logic for setting `rep_movsb_stop_threshold`

Move the setting of `rep_movsb_stop_threshold` to after the tunables
have been collected so that the `rep_movsb_stop_threshold` (which
is used to redirect control flow to the non_temporal case) will
use any user value for `non_temporal_threshold` (set using
glibc.cpu.x86_non_temporal_threshold)
sysdeps/x86/dl-cacheinfo.h