diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-03-05 07:20:28 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2022-01-27 12:47:19 -0800 |
commit | d584356fe8417790d20f024c5233c2d35a615ea2 (patch) | |
tree | 6ff8db43c13a2e2cb0d70126a8ad0940be2ba608 /sysdeps/x86_64/multiarch/wmemcmp-evex-movbe.S | |
parent | c7289e2bfdbff9730e24e81cc2924274e4f197bc (diff) | |
download | glibc-d584356fe8417790d20f024c5233c2d35a615ea2.tar.gz glibc-d584356fe8417790d20f024c5233c2d35a615ea2.tar.xz glibc-d584356fe8417790d20f024c5233c2d35a615ea2.zip |
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)
Diffstat (limited to 'sysdeps/x86_64/multiarch/wmemcmp-evex-movbe.S')
-rw-r--r-- | sysdeps/x86_64/multiarch/wmemcmp-evex-movbe.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/wmemcmp-evex-movbe.S b/sysdeps/x86_64/multiarch/wmemcmp-evex-movbe.S new file mode 100644 index 0000000000..4726d74aa1 --- /dev/null +++ b/sysdeps/x86_64/multiarch/wmemcmp-evex-movbe.S @@ -0,0 +1,4 @@ +#define MEMCMP __wmemcmp_evex_movbe +#define USE_AS_WMEMCMP 1 + +#include "memcmp-evex-movbe.S" |