[LLVMbugs] [Bug 17172] [SLP vectorization] missed opportunity to use absolute value vector instruction (vpabsd)
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Nov 4 09:26:41 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=17172
Sanjay Patel <spatel+llvm at rotateright.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |spatel+llvm at rotateright.com
Resolution|--- |FIXED
--- Comment #7 from Sanjay Patel <spatel+llvm at rotateright.com> ---
This got fixed in the SLP vectorizer / cost-model sometime in the last year:
$ ./clang -v
clang version 3.6.0 (221222)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
$ ./clang -O3 -fomit-frame-pointer -march=corei7-avx vpsad.c -S -o -
.section __TEXT,__text,regular,pure_instructions
.macosx_version_min 10, 9
.globl _foo
.align 4, 0x90
_foo: ## @foo
.cfi_startproc
## BB#0: ## %entry
vpabsd (%rdi), %xmm0
vmovdqu %xmm0, (%rdi)
retq
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141104/c1db43ad/attachment.html>
More information about the llvm-bugs
mailing list