mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-15 04:20:28 +08: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.
5 lines
93 B
ArmAsm
5 lines
93 B
ArmAsm
#define MEMCHR __rawmemchr_avx2_rtm
|
|
#define USE_AS_RAWMEMCHR 1
|
|
|
|
#include "memchr-avx2-rtm.S"
|