<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:benny.kra@gmail.com" title="Benjamin Kramer <benny.kra@gmail.com>"> <span class="fn">Benjamin Kramer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Loops with xors aren't vectorized"
href="http://llvm.org/bugs/show_bug.cgi?id=17795">bug 17795</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>benny.kra@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Loops with xors aren't vectorized"
href="http://llvm.org/bugs/show_bug.cgi?id=17795#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - Loops with xors aren't vectorized"
href="http://llvm.org/bugs/show_bug.cgi?id=17795">bug 17795</a>
from <span class="vcard"><a class="email" href="mailto:benny.kra@gmail.com" title="Benjamin Kramer <benny.kra@gmail.com>"> <span class="fn">Benjamin Kramer</span></a>
</span></b>
<pre>Apple's clang is just outdated.
$ clang -O3 -S t.c
$ clang --version
clang version 3.4 (193960)
Target: x86_64-unknown-linux-gnu
Thread model: posix
$ cat t.s
.file "t.c"
.section .rodata.cst16,"aM",@progbits,16
.align 16
.LCPI0_0:
.zero 16,54
.text
.globl f
.align 16, 0x90
.type f,@function
f: # @f
.cfi_startproc
# BB#0: # %entry
xorl %eax, %eax
movaps .LCPI0_0(%rip), %xmm0
.align 16, 0x90
.LBB0_1: # %vector.body
# =>This Inner Loop Header: Depth=1
movups (%rdi,%rax), %xmm1
movups 16(%rdi,%rax), %xmm2
xorps %xmm0, %xmm1
xorps %xmm0, %xmm2
movups %xmm1, (%rsi,%rax)
movups %xmm2, 16(%rsi,%rax)
addq $32, %rax
cmpq $128, %rax
jne .LBB0_1
# BB#2: # %for.end
ret
.Ltmp0:
.size f, .Ltmp0-f
.cfi_endproc
.ident "clang version 3.4 (193960)"
.section ".note.GNU-stack","",@progbits</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>