[cfe-dev] __builtin_shufflevector

VanDung To vandungto at gmail.com
Fri Feb 13 09:58:44 PST 2009


thank you for the information

Van

On Fri, Feb 13, 2009 at 11:36 AM, Eli Friedman <eli.friedman at gmail.com>wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090213/75705e54/attachment.html>


More information about the cfe-dev mailing list