[llvm-bugs] [Bug 24935] New: [X86] [AVX2] incorrect code generated for shuffle vector

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Sep 25 05:54:20 PDT 2015


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

            Bug ID: 24935
           Summary: [X86] [AVX2] incorrect code generated for shuffle
                    vector
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: koffieyahoo at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The AVX2 code produced for the following shufflevector

shufflevector <16 x i16> %9, <16 x i16> %8, <16 x i32> <i32 27, i32 26, i32 1,
i32 29, i32 26, i32 23, i32 11, i32 16, i32 1, i32 9, i32 16, i32 28, i32 13,
i32 4, i32 0, i32 24>

Does not shuffle correctly. It instead yields the following shuffle:

27, 26, 1, 29, 26, 29, 11, 27, 1, 9, 16, 23, 13, 4, 0, 19

-- 
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/20150925/9506c82e/attachment.html>


More information about the llvm-bugs mailing list