[LLVMdev] Clang 3.1 __builtin_ia32_pcmpeqd128 doesn't work anymore
Anton Korobeynikov
anton at korobeynikov.info
Mon Jun 4 05:45:18 PDT 2012
Hello
> So if i understand right, i can't directly compile the c code using clang.
> And i need to manually generate some llvm ir to replace the builtin
> function.
This is gcc's internal builtin function which was removed from clang.
One should either use *mmintrin.h files (as specified by
http://clang.llvm.org/compatibility.html#vector_builtins) or do
something similar to this (just wild guess):
__v4i comp = (vectTag == vectTag2);
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list