]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Use ZMM16-ZMM31 in AVX512 memset family functions
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 7 Mar 2021 17:44:18 +0000 (09:44 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 27 Jan 2022 19:33:05 +0000 (11:33 -0800)
commit90496a2f5d9e7870910d0a720397dfb22fc9191d
treea3b1b3b11d0858a0ebd0e9c72a216f1ce67ef4e0
parentc42821ec053da5d42868dd49f91f335bc3a331f5
x86-64: Use ZMM16-ZMM31 in AVX512 memset family functions

Update ifunc-memset.h/ifunc-wmemset.h to select the function optimized
with AVX512 instructions using ZMM16-ZMM31 registers to avoid RTM abort
with usable AVX512VL and AVX512BW since VZEROUPPER isn't needed at
function exit.

(cherry picked from commit 4e2d8f352774b56078c34648b14a2412c38384f4)
sysdeps/x86_64/multiarch/ifunc-impl-list.c
sysdeps/x86_64/multiarch/ifunc-memset.h
sysdeps/x86_64/multiarch/ifunc-wmemset.h
sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S