Re: Vector Shuffle plans

2011-10-03 Thread Artem Shinkarov
On Mon, Oct 3, 2011 at 8:02 PM, Richard Henderson wrote: > On 10/03/2011 11:40 AM, Artem Shinkarov wrote: >> Currently if vec_perm_ok returns false, we do not try to use a new >> vshuffle routine. Would it make sense to implement that? The only >> potential problem I can see is a possible performa

Re: Vector Shuffle plans

2011-10-03 Thread Richard Henderson
On 10/03/2011 11:40 AM, Artem Shinkarov wrote: > Currently if vec_perm_ok returns false, we do not try to use a new > vshuffle routine. Would it make sense to implement that? The only > potential problem I can see is a possible performance degradation. > This leads us to the second issue. Implemen

Re: Vector Shuffle plans

2011-10-03 Thread Artem Shinkarov
On Mon, Oct 3, 2011 at 7:07 PM, Richard Henderson wrote: > On 10/03/2011 10:42 AM, David Miller wrote: >>> You might have a look at the "Vector Shuffle" thread, where we've been >>> trying to provide builtin-level access to this feature.  We've not added >>> an rtx-level code for this because so f