mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 15:51:07 +00:00
7ebba91361
Since VZEROUPPER triggers RTM abort while VZEROALL won't, select AVX optimized string/memory functions with xtest jz 1f vzeroall ret 1: vzeroupper ret at function exit on processors with usable RTM, but without 256-bit EVEX instructions to avoid VZEROUPPER inside a transactionally executing RTM region.
6 lines
113 B
ArmAsm
6 lines
113 B
ArmAsm
#define STRLEN __wcsnlen_avx2_rtm
|
|
#define USE_AS_WCSLEN 1
|
|
#define USE_AS_STRNLEN 1
|
|
|
|
#include "strlen-avx2-rtm.S"
|