[LLVMbugs] [Bug 15123] New: float32x4_t cast and access

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 30 12:13:55 PST 2013


             Bug #: 15123
           Summary: float32x4_t cast and access
           Product: clang
           Version: unspecified
          Platform: Macintosh
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: cmcwilliams at vvisions.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 9949
  --> http://llvm.org/bugs/attachment.cgi?id=9949
code that exhibits problems accessing data stored in a neon type

The attached code when run on iOS prints the following when built with Xcode's
default "Release" configuration in a new blank project:
  result = 3.000000 0.000000 0.000000 0.000000

I expect it to print:
  result = 0.000000 1.000000 2.000000 3.000000

This is a simplification of some vector code that started exhibiting this
behavior just since upgrading from Xcode 4.5.2 to Xcode 4.6.

$ clang --version
Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.2.0
Thread model: posix

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