From: r...@redhat.com
Date: Thu, 13 Oct 2011 20:43:19 -0700

> These patches allow __builtin_shuffle to handle any vector permutation
> via optabs.  It allows for a not-uncommon fallback to byte permutation
> at rtl expansion time, while leaving the tree/gimple-level permutation
> as element-based.
> 
> All three targets which heretofore supported vector permutation in any
> way have been updated to support the new optabs.
> 
> The next step is to convert the vectorizer to use the VEC_PERM_EXPR code
> rather than using the hook that returns builtins.  Once that is done,
> it would be possible for the targets to delete the builtins.  Supposing
> that they're not exposed for user-level consumption (which is the case
> for i386; the user-level interface is via inlines in a header file, which
> can be updated to use __builtin_shuffle).

Looks good Richard, I'll work on vec_init and vec_perm* patterns on
Sparc when I get a chance.

Reply via email to