This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/6] Cleanups for generic vector permutation.


From: rth@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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]