glibc/sysdeps/x86_64/multiarch/strchrnul-evex.S
H.J. Lu 1fd8c163a8 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.
2021-03-29 07:40:17 -07:00

4 lines
84 B
ArmAsm

#define STRCHR __strchrnul_evex
#define USE_AS_STRCHRNUL 1
#include "strchr-evex.S"