[LLVMbugs] [Bug 12532] New: avxintrin.h not compilable

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 12 04:39:47 PDT 2012


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

             Bug #: 12532
           Summary: avxintrin.h not compilable
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: kretz at kde.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 8373
  --> http://llvm.org/bugs/attachment.cgi?id=8373
patch to remove incorrect const

commit 153091 introduced new _mm256_storeu2_xxx intrinsics to avxintrin.h which
do not compile:
/opt/clang-master/bin/../lib/clang/3.1/include/avxintrin.h:1210:27: error:
cannot initialize a parameter of type 'float *' with an lvalue of type 'const
float *'
  __builtin_ia32_storeups(addr_lo, v128);
...

To make it compile I changed the signature of the intrinsics. I think it
doesn't make much sense to store to const memory. :)

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