[LLVMbugs] [Bug 20661] New: Top half of __m256i is not filled when returned from a function

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 14 05:06:23 PDT 2014


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

            Bug ID: 20661
           Summary: Top half of __m256i is not filled when returned from a
                    function
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alankelly at live.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12897
  --> http://llvm.org/bugs/attachment.cgi?id=12897&action=edit
Test case

When returning an std::array (or boost::array) of __m256i, the top half of the
vector is not filled. In the attached test case, assigning t to a works as
expected but when t is assigned to c via the eval function, the top half of the
vector is lost. 

This also works with g++.

-- 
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/20140814/1b63f0f6/attachment.html>


More information about the llvm-bugs mailing list