[llvm-bugs] [Bug 32790] [AVX] partly-implemented 256-bit ISA leads to codegen problems

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 26 08:48:19 PDT 2017


https://bugs.llvm.org/show_bug.cgi?id=32790

Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Sanjay Patel <spatel+llvm at rotateright.com> ---
Should be fixed after:
https://reviews.llvm.org/rL303997

$ ./llc -o - -mattr=avx 32790.ll 
        vpaddd  %xmm1, %xmm0, %xmm4
        vextractf128    $1, %ymm1, %xmm1
        vextractf128    $1, %ymm0, %xmm0
        vpaddd  %xmm1, %xmm0, %xmm0
        vextractf128    $1, %ymm2, %xmm1
        vpand   %xmm1, %xmm0, %xmm0    <--- narrow logic op
        vextractf128    $1, %ymm3, %xmm1
        vpsubd  %xmm1, %xmm0, %xmm0
        vpand   %xmm2, %xmm4, %xmm1    <--- narrow logic op
        vpsubd  %xmm3, %xmm1, %xmm1
        vinsertf128     $1, %xmm0, %ymm1, %ymm0
        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/20170526/6e33c128/attachment.html>


More information about the llvm-bugs mailing list