<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:sanjay3.0.0.0@gmail.com" title="Sanjay Patel <sanjay3.0.0.0@gmail.com>"> <span class="fn">Sanjay Patel</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - missed opportunity to use vector FMA instruction"
href="http://llvm.org/bugs/show_bug.cgi?id=17236">bug 17236</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;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>sanjay3.0.0.0@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>FIXED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - missed opportunity to use vector FMA instruction"
href="http://llvm.org/bugs/show_bug.cgi?id=17236#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - missed opportunity to use vector FMA instruction"
href="http://llvm.org/bugs/show_bug.cgi?id=17236">bug 17236</a>
from <span class="vcard"><a class="email" href="mailto:sanjay3.0.0.0@gmail.com" title="Sanjay Patel <sanjay3.0.0.0@gmail.com>"> <span class="fn">Sanjay Patel</span></a>
</span></b>
<pre>With:
$ ./clang -v
clang version 3.5.0 (trunk 205798) (llvm/trunk 205792)
Target: x86_64-apple-darwin13.1.0
Thread model: posix
The SLP vectorizer is now able to generate packed FMA instructions for this
test case. It's not using 32-byte wide operations, but that problem is
addressed by <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Vectorization] missed opportunity to use wider vectors"
href="show_bug.cgi?id=17170">bug 17170</a>.
_foo: ## @foo
.cfi_startproc
## BB#0: ## %entry
vmovupd (%rdi), %xmm0
vfmadd213pd %xmm0, %xmm0, %xmm0
vmovupd %xmm0, (%rdi)
vmovupd 16(%rdi), %xmm0
vfmadd213pd %xmm0, %xmm0, %xmm0
vmovupd %xmm0, 16(%rdi)
vmovupd 32(%rdi), %xmm0
vfmadd213pd %xmm0, %xmm0, %xmm0
vmovupd %xmm0, 32(%rdi)
vmovupd 48(%rdi), %xmm0
vfmadd213pd %xmm0, %xmm0, %xmm0
vmovupd %xmm0, 48(%rdi)
retq</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>