<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - AVX-512: <64 x i8> shuffle is scalarized in the CodeGen"
href="https://bugs.llvm.org/show_bug.cgi?id=33784">33784</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>AVX-512: <64 x i8> shuffle is scalarized in the CodeGen
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>elena.demikhovsky@intel.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>define <16 x i8> @foo(<64 x i8> %x) {
%res = shufflevector <64 x i8> %x, <64 x i8> undef, <16 x i32> <i32 1, i32 5,
i32 9, i32 13, i32 17, i32 21, i32 25, i32 29, i32 33, i32 37, i32 41, i32 45,
i32 49, i32 53, i32 57, i32 61>
ret <16 x i8> %res
}
llc -mcpu=skx < test.ll
vpextrb $5, %xmm0, %eax
vpextrb $1, %xmm0, %ecx
vmovd %ecx, %xmm1
vpinsrb $1, %eax, %xmm1, %xmm1
vpextrb $9, %xmm0, %eax
vpinsrb $2, %eax, %xmm1, %xmm1
vpextrb $13, %xmm0, %eax
vpinsrb $3, %eax, %xmm1, %xmm1
vextracti32x4 $1, %zmm0, %xmm2
vpextrb $1, %xmm2, %eax
vpinsrb $4, %eax, %xmm1, %xmm1
vpextrb $5, %xmm2, %eax
vpinsrb $5, %eax, %xmm1, %xmm1
vpextrb $9, %xmm2, %eax
vpinsrb $6, %eax, %xmm1, %xmm1
vpextrb $13, %xmm2, %eax
vpinsrb $7, %eax, %xmm1, %xmm1
vextracti32x4 $2, %zmm0, %xmm2
vpextrb $1, %xmm2, %eax
vpinsrb $8, %eax, %xmm1, %xmm1
vpextrb $5, %xmm2, %eax
vpinsrb $9, %eax, %xmm1, %xmm1
vpextrb $9, %xmm2, %eax
vpinsrb $10, %eax, %xmm1, %xmm1
vpextrb $13, %xmm2, %eax
vpinsrb $11, %eax, %xmm1, %xmm1
vextracti32x4 $3, %zmm0, %xmm0
vpextrb $1, %xmm0, %eax
vpinsrb $12, %eax, %xmm1, %xmm1
vpextrb $5, %xmm0, %eax
vpinsrb $13, %eax, %xmm1, %xmm1
vpextrb $9, %xmm0, %eax
vpinsrb $14, %eax, %xmm1, %xmm1
vpextrb $13, %xmm0, %eax
vpinsrb $15, %eax, %xmm1, %xmm0</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>