mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
1fd8c163a8
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.
6 lines
105 B
ArmAsm
6 lines
105 B
ArmAsm
#define STRLEN __wcsnlen_evex
|
|
#define USE_AS_WCSLEN 1
|
|
#define USE_AS_STRNLEN 1
|
|
|
|
#include "strlen-evex.S"
|