| 1 | #if IS_IN (libc) |
|---|---|
| 2 | # define VEC_SIZE 32 |
| 3 | # define VEC(i) ymm##i |
| 4 | # define VMOVU vmovdqu |
| 5 | # define VMOVA vmovdqa |
| 6 | |
| 7 | # define VDUP_TO_VEC0_AND_SET_RETURN(d, r) \ |
| 8 | vmovd d, %xmm0; \ |
| 9 | movq r, %rax; \ |
| 10 | vpbroadcastb %xmm0, %ymm0 |
| 11 | |
| 12 | # define SECTION(p) p##.avx |
| 13 | # define MEMSET_SYMBOL(p,s) p##_avx2_##s |
| 14 | |
| 15 | # include "memset-vec-unaligned-erms.S" |
| 16 | #endif |
| 17 |