<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [X86] VPSHUFD and VPERMQ with immediates combined into VPERMD with variable mask"
href="https://bugs.llvm.org/show_bug.cgi?id=46249">bug 46249</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Fixed By Commit(s)</td>
<td>
</td>
<td>e7e204a373683a09978be2b1df8783ba26fe43a4
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [X86] VPSHUFD and VPERMQ with immediates combined into VPERMD with variable mask"
href="https://bugs.llvm.org/show_bug.cgi?id=46249#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [X86] VPSHUFD and VPERMQ with immediates combined into VPERMD with variable mask"
href="https://bugs.llvm.org/show_bug.cgi?id=46249">bug 46249</a>
from <span class="vcard"><a class="email" href="mailto:llvm-dev@redking.me.uk" title="Simon Pilgrim <llvm-dev@redking.me.uk>"> <span class="fn">Simon Pilgrim</span></a>
</span></b>
<pre>Fixed in rGe7e204a373683a09978be2b1df8783ba26fe43a4
Looking at the reported test code in <a href="https://t.co/o5DY0C0Z0e?amp=1">https://t.co/o5DY0C0Z0e?amp=1</a>
we still screw up some predicate selects that we've widened from v16i32 to
v8i64 types:
movb $-52, %al
kmovw %eax, %k3
vpmaxsd %zmm2, %zmm0, %zmm0
vmovdqa64 %zmm0, %zmm1 {%k2}
which gcc avoids, allowing to fold the select into the vpmaxsd.</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>