<html>
<head>
<base href="https://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 --- - [x86] go to eleven"
href="https://llvm.org/bugs/show_bug.cgi?id=28513">28513</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[x86] go to eleven
</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>All
</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>Backend: X86
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>spatel+llvm@rotateright.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>int foo(int x) {
return x * 11;
}
define i32 @foo(i32 %x) {
%mul = mul nsw i32 %x, 11
ret i32 %mul
}
------------------------------------------------------------------------------
GCC 6.1:
leal (%rdi,%rdi,4), %eax
leal (%rdi,%rax,2), %eax
ret
ICC 13:
lea (%rdi,%rdi,8), %edx #2.14
lea (%rdx,%rdi,2), %eax #2.14
ret #2.14
LLVM:
imull $11, %edi, %eax
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>