[PATCH v3 1/3] x86: Add definition for __wmemset_chk AVX2 RTM in ifunc impl list
Noah Goldstein
goldstein.w.n@gmail.com
Wed Jun 29 23:07:04 GMT 2022
This was simply missing and meant we weren't testing it properly.
---
sysdeps/x86_64/multiarch/ifunc-impl-list.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sysdeps/x86_64/multiarch/ifunc-impl-list.c b/sysdeps/x86_64/multiarch/ifunc-impl-list.c
index e6418a5ba3..86e1054024 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,
IFUNC_IMPL_ADD (array, i, __wmemset_chk,
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)
--
2.34.1
More information about the Libc-alpha
mailing list