[LLVMbugs] [Bug 13239] optimizer and code generator do not generate vector shuffle instructions but a lot of inserts and extracts
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 17 14:06:10 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=13239
Simon Pilgrim <llvm-dev at redking.me.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |llvm-dev at redking.me.uk
Resolution|--- |FIXED
--- Comment #2 from Simon Pilgrim <llvm-dev at redking.me.uk> ---
Fixed by r224429
.globl __fun1
.align 4, 0x90
__fun1: ## @_fun1
.cfi_startproc
## BB#0: ## %_L1
vmovaps (%rdi), %ymm0
vextractf128 $1, %ymm0, %xmm1
vpabsd %xmm0, %xmm0
vpshufd $68, %xmm1, %xmm1 ## xmm1 = xmm1[0,1,0,1]
vpabsd %xmm1, %xmm1
vmovq %xmm1, %xmm1
vmovdqa %xmm0, (%rdi)
vmovq %xmm1, 16(%rdi)
vzeroupper
retq
.cfi_endproc
--
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/20141217/6441c252/attachment.html>
More information about the llvm-bugs
mailing list