[cfe-dev] __builtin_shufflevector
Eli Friedman
eli.friedman at gmail.com
Fri Feb 13 09:36:19 PST 2009
On Fri, Feb 13, 2009 at 6:40 AM, VanDung To <vandungto at gmail.com> wrote:
> In the Clang language extensions documentation, there's a heading for a
> builtin function called __builtin_shufflevector but no description. Have
> this feature been implemented and could someone help me with a description?
Yes, it's implemented; it's roughly the equivalent of the LLVM
shufflevector instruction. The first two arguments are vectors, then
the remaining arguments are the indices used for the returned vector.
-Eli
More information about the cfe-dev
mailing list