aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-06-29 16:07:04 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-06-29 19:47:52 -0700
commit2a1099020cdc1e4c9c928156aa85c8cf9d540291 (patch)
tree1bea5127b4e5f014d8e075be1aef8ac93a88c164 /sysdeps
parent2c4e368a418e12ba67cd4fb026c8b8f2dd605497 (diff)
downloadglibc-2a1099020cdc1e4c9c928156aa85c8cf9d540291.zip
glibc-2a1099020cdc1e4c9c928156aa85c8cf9d540291.tar.gz
glibc-2a1099020cdc1e4c9c928156aa85c8cf9d540291.tar.bz2
x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list
This was simply missing and meant we weren't testing it properly.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/multiarch/ifunc-impl-list.c4
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 0d28319..dcfc237 100644
--- a/sysdeps/x86_64/multiarch/ifunc-impl-list.c
+++ b/sysdeps/x86_64/multiarch/ifunc-impl-list.c
@@ -1009,6 +1009,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)),