mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 23:10:06 +00:00
e4fda46310
Update ifunc-memmove.h to select the function optimized with AVX512 instructions using ZMM16-ZMM31 registers to avoid RTM abort with usable AVX512VL since VZEROUPPER isn't needed at function exit.
34 lines
713 B
ArmAsm
34 lines
713 B
ArmAsm
#if IS_IN (libc)
|
|
# define VEC_SIZE 64
|
|
# define XMM0 xmm16
|
|
# define XMM1 xmm17
|
|
# define YMM0 ymm16
|
|
# define YMM1 ymm17
|
|
# define VEC0 zmm16
|
|
# define VEC1 zmm17
|
|
# define VEC2 zmm18
|
|
# define VEC3 zmm19
|
|
# define VEC4 zmm20
|
|
# define VEC5 zmm21
|
|
# define VEC6 zmm22
|
|
# define VEC7 zmm23
|
|
# define VEC8 zmm24
|
|
# define VEC9 zmm25
|
|
# define VEC10 zmm26
|
|
# define VEC11 zmm27
|
|
# define VEC12 zmm28
|
|
# define VEC13 zmm29
|
|
# define VEC14 zmm30
|
|
# define VEC15 zmm31
|
|
# define VEC(i) VEC##i
|
|
# define VMOVNT vmovntdq
|
|
# define VMOVU vmovdqu64
|
|
# define VMOVA vmovdqa64
|
|
# define VZEROUPPER
|
|
|
|
# define SECTION(p) p##.evex512
|
|
# define MEMMOVE_SYMBOL(p,s) p##_avx512_##s
|
|
|
|
# include "memmove-vec-unaligned-erms.S"
|
|
#endif
|