This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add optabs for common types of permutation
On Thu, Nov 23, 2017 at 02:43:32PM +0100, Michael Matz wrote:
> > If it's a VEC_PERM_EXPR then it'll be a new form of VEC_PERM_EXPR.
>
> No, it'd be a VEC_PERM_EXPR where the magic mask is generated by a new
> EXPR type, instead of being a mere constant.
Or an internal function that would produce the permutation mask vector
given kind and number of vector elements and element type for the mask.
Jakub