[PATCH v1 0/1] x86: wmemset ifunc: fix stray '!' causing SSE2 fallback

Jiamei Xie xiejiamei@hygon.cn
Mon Oct 13 13:02:21 GMT 2025


From: Xie jiamei <xiejiamei@hygon.cn>

This series fixes a typo in the IFUNC selector of wmemset on x86_64.
A stray '!' negated the AVX_Fast_Unaligned_Load predicate and skipped
the AVX2/EVEX implementations, causing SSE2 fallback and bandwidth
regressions on AVX2/AVX512-capable CPUs.

The patch removes the stray '!'.

Testing:
- Built glibc and ran benchtests/bench-wmemset on AVX2/AVX512 systems.
- perf shows __wmemset_avx2/evex selected.

xiejiamei (1):
  x86: wmemset ifunc: fix stray '!' causing SSE2 fallback

 sysdeps/x86_64/multiarch/ifunc-wmemset.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.42.0




More information about the Libc-alpha mailing list