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/Makefile | |
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/Makefile')
-rw-r--r-- | sysdeps/x86_64/multiarch/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/Makefile b/sysdeps/x86_64/multiarch/Makefile index 062e6c0b20..141585a984 100644 --- a/sysdeps/x86_64/multiarch/Makefile +++ b/sysdeps/x86_64/multiarch/Makefile @@ -42,6 +42,7 @@ sysdep_routines += strncat-c stpncpy-c strncpy-c \ memset-avx2-unaligned-erms \ memset-avx512-unaligned-erms \ memchr-evex \ + memcmp-evex-movbe \ memmove-evex-unaligned-erms \ memrchr-evex \ memset-evex-unaligned-erms \ @@ -82,7 +83,8 @@ sysdep_routines += wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c \ wcsncmp-evex \ wcsnlen-evex \ wcsrchr-evex \ - wmemchr-evex + wmemchr-evex \ + wmemcmp-evex-movbe endif ifeq ($(subdir),debug) |