[LLVMbugs] [Bug 13456] New: Reading a vector of two bytes in NEON tries to load 32 bits rather than 16.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 25 05:11:56 PDT 2012


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

             Bug #: 13456
           Summary: Reading a vector of two bytes in NEON tries to load 32
                    bits rather than 16.
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: simon.hosie at arm.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Simple test case:
echo 'typedef unsigned char uchar2 __attribute__((ext_vector_type(2))); void
fn(uchar2 *in, uchar2 *out) { *out = *in; }' | clang -ccc-host-triple
armv7-none-linux-gnueabi -S -xc - -o -

The output contains vld.32 which should really be vld.16.  This doesn't make
sense with the alignment hint included, and it presents a page fault hazard if
performed at the very end of a legal page.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list