[LLVMdev] Can't use SSE4.2 instructions

Blind Faith person.of.book at gmail.com
Fri May 3 07:50:44 PDT 2013


Hi,

I'm trying to use the SSE4.2's instruction  _mm_crc32_u64 and also
added -msse4.2 flag in the makefile, but yet I get this error when I try to
compile my code with clang/llvm.

LLVM ERROR: Cannot select: intrinsic %llvm.x86.sse42.crc32.64.64

I also tried to pass -march=native, but still no luck.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130503/943f2a47/attachment.html>


More information about the llvm-dev mailing list