]> 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 18:36:43 +0000 (10:36 -0800)
commit15bae38c8bd97db873326393ccd49bb105387f1e
tree22d695f5e99e3107b9672c9bc398998a8c5eae9e
parent47bf9f38bb7ed3b1b6acaa4eab32f2a7c5d4cd34
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]