]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86-64: Add memcmp family functions with 256-bit EVEX
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 5 Mar 2021 15:20:28 +0000 (07:20 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 27 Jan 2022 20:07:11 +0000 (12:07 -0800)
commit757d90ff37d57c7b3b208e1c1889d352c41969e9
tree38c7727f7fed99d9716d80ed66a2d18be9d7e016
parent9650d04fb63bdeaf1516a75c92cb225ce0ec37f1
x86-64: Add memcmp family functions with 256-bit EVEX

Update ifunc-memcmp.h to select the function optimized with 256-bit EVEX
instructions using YMM16-YMM31 registers to avoid RTM abort with usable
AVX512VL, AVX512BW and MOVBE since VZEROUPPER isn't needed at function
exit.

(cherry picked from commit 91264fe3577fe887b4860923fa6142b5274c8965)
sysdeps/x86_64/multiarch/Makefile
sysdeps/x86_64/multiarch/ifunc-impl-list.c
sysdeps/x86_64/multiarch/ifunc-memcmp.h
sysdeps/x86_64/multiarch/memcmp-evex-movbe.S [new file with mode: 0644]
sysdeps/x86_64/multiarch/wmemcmp-evex-movbe.S [new file with mode: 0644]