mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-04 02:40:06 +00:00
5cd7af016d
Since memmove and memset in ld.so don't use IFUNC, don't put SSE2, AVX and AVX512 memmove and memset in ld.so. * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip if not in libc. * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S: Likewise. * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: Likewise. * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S: Likewise.
18 lines
416 B
ArmAsm
18 lines
416 B
ArmAsm
#if defined HAVE_AVX512_ASM_SUPPORT && IS_IN (libc)
|
|
# define VEC_SIZE 64
|
|
# define VEC(i) zmm##i
|
|
# define VMOVU vmovdqu64
|
|
# define VMOVA vmovdqa64
|
|
|
|
# define VDUP_TO_VEC0_AND_SET_RETURN(d, r) \
|
|
vmovd d, %xmm0; \
|
|
movq r, %rax; \
|
|
vpbroadcastb %xmm0, %xmm0; \
|
|
vpbroadcastq %xmm0, %zmm0
|
|
|
|
# define SECTION(p) p##.avx512
|
|
# define MEMSET_SYMBOL(p,s) p##_avx512_##s
|
|
|
|
# include "memset-vec-unaligned-erms.S"
|
|
#endif
|