[LLVMbugs] [Bug 9665] __builtin_shufflevector requires a constant integer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Dec 6 09:00:14 PST 2011


Luke Dalessandro <luked at cs.rochester.edu> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
            Version|2.9                         |3.0
         Resolution|INVALID                     |
           Severity|normal                      |enhancement

--- Comment #2 from Luke Dalessandro <luked at cs.rochester.edu> 2011-12-06 11:00:14 CST ---
This bites me as well because Intel seems to use the (apparent) "unportable
extension" in their avx intrinsic emulation header, downloadable as
"avxintrin_emu.h" from
"http://software.intel.com/en-us/articles/avx-emulation-header-file/". The
header compiles without complaint on gcc on my Linux system up through 4.6.2.

Reproduce by downloading the header and including it in some temp.c file, and
compiling with gcc -msse2 -c temp.c -o /dev/null. 

It's an inconvenient deviation from gcc's behavior (in the sense that there
isn't any way that I can fix this header given my knowledge of SSE), so I
updated to clang 3.0 and marked as an enhancement request.

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