[LLVMdev] Can't use SSE4.2 instructions

Cameron McInally cameron.mcinally at nyu.edu
Fri May 3 09:48:17 PDT 2013


On Fri, May 3, 2013 at 11:07 AM, Blind Faith <person.of.book at gmail.com>wrote:
...

> "You may be passing operands of the wrong type to the intrinsic" -> Well
> I don't do anything to the LLVM bit code, I just try to compile my C code,
> all code being generated by clang.
>

Sorry for misunderstanding...

I have a simple test here that generates @llvm.x86.sse42.crc32.64.64(i64
%28, i64 %29). It appears to work as expected using Clang from trunk. You
should probably file a Bug with your specific test case and environment
details.

If you're feeling ambitious ;), you could try -emit-llvm and see what's
coming across the interface.

-Cameron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130503/547bc009/attachment.html>


More information about the llvm-dev mailing list