| 1 | #include <isa-level.h> |
| 2 | |
| 3 | #if ISA_SHOULD_BUILD (4) |
| 4 | |
| 5 | # define USE_WITH_AVX512 1 |
| 6 | |
| 7 | # include "x86-evex512-vecs.h" |
| 8 | |
| 9 | # define MEMSET_SET_VEC0_AND_SET_RETURN(d, r) \ |
| 10 | vpbroadcastb d, %VMM(0); \ |
| 11 | movq r, %rax |
| 12 | |
| 13 | # define WMEMSET_SET_VEC0_AND_SET_RETURN(d, r) \ |
| 14 | vpbroadcastd d, %VMM(0); \ |
| 15 | movq r, %rax |
| 16 | |
| 17 | # define MEMSET_VDUP_TO_VEC0_HIGH() |
| 18 | # define MEMSET_VDUP_TO_VEC0_LOW() |
| 19 | |
| 20 | # define WMEMSET_VDUP_TO_VEC0_HIGH() |
| 21 | # define WMEMSET_VDUP_TO_VEC0_LOW() |
| 22 | |
| 23 | #ifndef MEMSET_SYMBOL |
| 24 | # define MEMSET_SYMBOL(p,s) p##_avx512_##s |
| 25 | #endif |
| 26 | #ifndef WMEMSET_SYMBOL |
| 27 | # define WMEMSET_SYMBOL(p,s) p##_avx512_##s |
| 28 | #endif |
| 29 | |
| 30 | |
| 31 | # define USE_LESS_VEC_MASK_STORE 1 |
| 32 | # include "memset-vec-unaligned-erms.S" |
| 33 | #endif |
| 34 | |