diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-03-05 06:24:52 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-03-29 07:40:17 -0700 |
commit | 1fd8c163a83d96ace1ff78fa6bac7aee084f6f77 (patch) | |
tree | f10a0556c0e7a8d1a97e4702568c4e88869ac168 /sysdeps/x86_64/multiarch/wcslen-evex.S | |
parent | 1da50d4bda07f04135dca39f40e79fc9eabed1f8 (diff) | |
download | glibc-1fd8c163a83d96ace1ff78fa6bac7aee084f6f77.tar.gz glibc-1fd8c163a83d96ace1ff78fa6bac7aee084f6f77.tar.xz glibc-1fd8c163a83d96ace1ff78fa6bac7aee084f6f77.zip |
x86-64: Add ifunc-avx2.h functions with 256-bit EVEX
Update ifunc-avx2.h, strchr.c, strcmp.c, strncmp.c and wcsnlen.c to select the function optimized with 256-bit EVEX instructions using YMM16-YMM31 registers to avoid RTM abort with usable AVX512VL, AVX512BW and BMI2 since VZEROUPPER isn't needed at function exit. For strcmp/strncmp, prefer AVX2 strcmp/strncmp if Prefer_AVX2_STRCMP is set.
Diffstat (limited to 'sysdeps/x86_64/multiarch/wcslen-evex.S')
-rw-r--r-- | sysdeps/x86_64/multiarch/wcslen-evex.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/x86_64/multiarch/wcslen-evex.S b/sysdeps/x86_64/multiarch/wcslen-evex.S new file mode 100644 index 0000000000..bdafa83bd5 --- /dev/null +++ b/sysdeps/x86_64/multiarch/wcslen-evex.S @@ -0,0 +1,4 @@ +#define STRLEN __wcslen_evex +#define USE_AS_WCSLEN 1 + +#include "strlen-evex.S" |