<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - Overzealous strength reduction on _mm_mullo_epi16 producing inferior code"
href="http://llvm.org/bugs/show_bug.cgi?id=18478">18478</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Overzealous strength reduction on _mm_mullo_epi16 producing inferior code
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>fabiang@radgametools.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=11871" name="attach_11871" title="Small repro with generated code">attachment 11871</a> <a href="attachment.cgi?id=11871&action=edit" title="Small repro with generated code">[details]</a></span>
Small repro with generated code
Both of the functions in this file should be equivalent; the former
("good_...") does generate the expected code, but the latter ("bad_...") ends
up "de-SIMDifying" the function almost completely.
The only difference between the two is that the former declares the magic value
at global scope whereas the latter uses the _mm_setr_epi16 intrinsic.
This was tested using the official Clang 3.4 release binaries, not trunk, but
the "Version" field doesn't have 3.4 yet.</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>