mirror of git://sourceware.org/git/glibc.git
x86: Tunables may incorrectly set Prefer_PMINUB_for_stringop (bug 32047)
Fixes commit5bcf6265f2
("x86: Disable non-temporal memset on Skylake Server"). Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com> (cherry picked from commit7a630f7d33
)
This commit is contained in:
parent
928769737c
commit
aa533d58ff
|
@ -248,6 +248,7 @@ TUNABLE_CALLBACK (set_hwcaps) (tunable_val_t *valp)
|
||||||
CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features,
|
CHECK_GLIBC_IFUNC_PREFERRED_BOTH (n, cpu_features,
|
||||||
Avoid_Non_Temporal_Memset, 25);
|
Avoid_Non_Temporal_Memset, 25);
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case 26:
|
case 26:
|
||||||
{
|
{
|
||||||
CHECK_GLIBC_IFUNC_PREFERRED_NEED_BOTH
|
CHECK_GLIBC_IFUNC_PREFERRED_NEED_BOTH
|
||||||
|
|
Loading…
Reference in New Issue