[llvm-commits] [llvm] r150060 - in /llvm/trunk: include/llvm/IntrinsicsX86.td lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86InstrSSE.td

David A. Greene dag at cray.com
Wed Feb 8 08:12:46 PST 2012


Craig Topper <craig.topper at gmail.com> writes:

> LLVM doesn't match gcc on a lot of builtins. Chris also stated to me
> in e-mail that matching gcc on vector builtins isn't a goal. Most of
> the x86 shuffle instructions don't have llvm intrinsics and instead
> use the generic _builtin_shufflevector in the *mmintrin.h header files
> in clang.  My goal here was only to make a few more shuffles match the
> behavior of  the other shuffles in this respect.

Not everthing is Clang.  Lots of people use GCC builtins and expect that
code to be honored.  We can't do that without intrinsics.

If anything, I would like to see *more* x86 intrinsics.  In fact we have
a bunch here that I was planning to send up.

                              -Dave




More information about the llvm-commits mailing list