[LLVMdev] Clang 3.1 __builtin_ia32_pcmpeqd128 doesn't work anymore

Christophe Duvernois christophe.duvernois at gmail.com
Mon Jun 4 01:45:21 PDT 2012


Hi,

I recently migrate from llvm/clang 2.8 to 3.1.
The builtin __builtin_ia32_pcmpeqd128 compile and works perfectly with
clang 2.8.
But with clang 3.1, i get the compilation error :

use of unknown builtin '__builtin_ia32_pcmpeqd128'
[-Wimplicit-function-declaration]
       __v4i comp = __builtin_ia32_pcmpeqd128(vectTag, vectTag2);

(cf dummy.c -> clang -c dummy.c -o dummy.o)

Is that normal? Is there an other way to do it?

Thanks in advance
Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120604/c09faed6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dummy.c
Type: text/x-csrc
Size: 444 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120604/c09faed6/attachment.c>


More information about the llvm-dev mailing list