[LLVMbugs] [Bug 12168] New: Need to fix signatures of *mmintrin.h APIs so we we don't end up with illegal casts in existing code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 2 16:33:58 PST 2012


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

             Bug #: 12168
           Summary: Need to fix signatures of *mmintrin.h APIs so we we
                    don't end up with illegal casts in existing code
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Headers
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Per summary; for example _mm_loadu_si128, which performs an unaligned load, has
the signature "__m128i _mm_loadu_si128 (__m128i *p);"; if we're going to be
adding optimizations which aggressively assume pointer values point to
appropriately aligned objects, we need to somehow fix these APIs so it is
possible to use them safely.

-- 
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