[LLVMbugs] [Bug 9849] New: The elements of the result of _mm_setr_pi16() and _mm_setr_pi32() are swapped

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 5 08:23:56 PDT 2011


           Summary: The elements of the result of _mm_setr_pi16() and
                    _mm_setr_pi32() are swapped
           Product: new-bugs
           Version: 2.9
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: yottui at yahoo.co.jp
                CC: llvmbugs at cs.uiuc.edu

_mm_setr_pi16() and _mm_setr_pi32() are defined in
But these function parameters are swapped.

--- begin mmintrin.h ---
static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi32(int __i1, int __i0)
    return _mm_set_pi32(__i1, __i0);

static __inline__ __m64 __attribute__((__always_inline__, __nodebug__))
_mm_setr_pi16(short __w3, short __w2, short __w1, short __w0)
    return _mm_set_pi16(__w3, __w2, __w1, __w0);
--- end mmintrin.h ---

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