Commit e91be48
committed
[clang] Add _mm512_kunpackd and _mm512_kunpackw to avx512fintrin.h
Add AVX-512 mask unpack intrinsics _mm512_kunpackd and _mm512_kunpackw
to avx512fintrin.h alongside the existing _mm512_kunpackb intrinsic.
These intrinsics extract and concatenate the lower halves of mask
registers, using the existing backend support for __builtin_ia32_kunpckdi
and __builtin_ia32_kunpcksi builtins.
Also adds __mmask32 and __mmask64 type definitions to avx512fintrin.h
for completeness.
Tests already exist in clang/test/CodeGen/X86/avx512bw-builtins.c.1 parent 3c52f53 commit e91be48
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
8100 | 8102 | | |
8101 | 8103 | | |
8102 | 8104 | | |
| 8105 | + | |
| 8106 | + | |
| 8107 | + | |
| 8108 | + | |
| 8109 | + | |
| 8110 | + | |
| 8111 | + | |
| 8112 | + | |
| 8113 | + | |
| 8114 | + | |
| 8115 | + | |
| 8116 | + | |
8103 | 8117 | | |
8104 | 8118 | | |
8105 | 8119 | | |
| |||
0 commit comments