diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-06-29 16:07:04 -0700 |
---|---|---|
committer | Sunil K Pandey <skpgkp2@gmail.com> | 2022-07-18 11:48:36 -0700 |
commit | 210e9728ffda69946bb11044b639d7e6c40d2354 (patch) | |
tree | 6e137d1320342667a5aec7f23000052dac25aaa8 /sysdeps | |
parent | c77cde8172575a433a04dadfeea4ff078149b84f (diff) | |
download | glibc-210e9728ffda69946bb11044b639d7e6c40d2354.tar.gz glibc-210e9728ffda69946bb11044b639d7e6c40d2354.tar.xz glibc-210e9728ffda69946bb11044b639d7e6c40d2354.zip |
x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list
This was simply missing and meant we weren't testing it properly. (cherry picked from commit 2a1099020cdc1e4c9c928156aa85c8cf9d540291)
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/x86_64/multiarch/ifunc-impl-list.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/ifunc-impl-list.c b/sysdeps/x86_64/multiarch/ifunc-impl-list.c index 2e5525eaac..e97218f624 100644 --- a/sysdeps/x86_64/multiarch/ifunc-impl-list.c +++ b/sysdeps/x86_64/multiarch/ifunc-impl-list.c @@ -1051,6 +1051,10 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl *array, CPU_FEATURE_USABLE (AVX2), __wmemset_chk_avx2_unaligned) IFUNC_IMPL_ADD (array, i, __wmemset_chk, + (CPU_FEATURE_USABLE (AVX2) + && CPU_FEATURE_USABLE (RTM)), + __wmemset_chk_avx2_unaligned_rtm) + IFUNC_IMPL_ADD (array, i, __wmemset_chk, (CPU_FEATURE_USABLE (AVX512VL) && CPU_FEATURE_USABLE (AVX512BW) && CPU_FEATURE_USABLE (BMI2)), |