Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
glibc/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (17 sloc)
477 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#if IS_IN (libc) | |
# define VEC_SIZE 16 | |
# define VEC(i) xmm##i | |
/* Don't use movups and movaps since it will get larger nop paddings | |
for alignment. */ | |
# define VMOVU movdqu | |
# define VMOVA movdqa | |
# define VDUP_TO_VEC0_AND_SET_RETURN(d, r) \ | |
movd d, %xmm0; \ | |
movq r, %rax; \ | |
punpcklbw %xmm0, %xmm0; \ | |
punpcklwd %xmm0, %xmm0; \ | |
pshufd $0, %xmm0, %xmm0 | |
# define SECTION(p) p | |
# define MEMSET_SYMBOL(p,s) p##_sse2_##s | |
# include "memset-vec-unaligned-erms.S" | |
#endif |