[LLVMbugs] [Bug 17654] [AVX] scalarized code generated for zext of <16 x i8> to <16 x i16>

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 23 12:24:25 PDT 2013


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

Benjamin Kramer <benny.kra at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |benny.kra at gmail.com
         Resolution|---                         |FIXED

--- Comment #1 from Benjamin Kramer <benny.kra at gmail.com> ---
With r193262 we emit
_bar:
        vpxor   %xmm1, %xmm1, %xmm1
        vpunpckhbw      %xmm1, %xmm0, %xmm2
        vpunpcklbw      %xmm1, %xmm0, %xmm0
        vinsertf128     $1, %xmm2, %ymm0, %ymm0

That should be the optimal sequence for AVX1.

-- 
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/20131023/7f562443/attachment.html>


More information about the llvm-bugs mailing list