http://llvm.org/bugs/show_bug.cgi?id=17236

Sanjay Patel <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |FIXED

--- Comment #2 from Sanjay Patel <[email protected]> ---
With:
$ ./clang -v
clang version 3.5.0 (trunk 205798) (llvm/trunk 205792)
Target: x86_64-apple-darwin13.1.0
Thread model: posix

The SLP vectorizer is now able to generate packed FMA instructions for this
test case. It's not using 32-byte wide operations, but that problem is
addressed by bug 17170.

_foo:                                   ## @foo
    .cfi_startproc
## BB#0:                                ## %entry
    vmovupd    (%rdi), %xmm0
    vfmadd213pd    %xmm0, %xmm0, %xmm0
    vmovupd    %xmm0, (%rdi)
    vmovupd    16(%rdi), %xmm0
    vfmadd213pd    %xmm0, %xmm0, %xmm0
    vmovupd    %xmm0, 16(%rdi)
    vmovupd    32(%rdi), %xmm0
    vfmadd213pd    %xmm0, %xmm0, %xmm0
    vmovupd    %xmm0, 32(%rdi)
    vmovupd    48(%rdi), %xmm0
    vfmadd213pd    %xmm0, %xmm0, %xmm0
    vmovupd    %xmm0, 48(%rdi)
    retq

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to