This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 0/6] More vector permutation work
- From: Richard Henderson <rth at redhat dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, irar at il dot ibm dot com, dje dot gcc at gmail dot com, davem at davemloft dot net, developer at sandoe-acoustics dot co dot uk
- Date: Thu, 27 Oct 2011 09:23:48 -0700
- Subject: Re: [PATCH 0/6] More vector permutation work
- References: <201110270805.p9R85r2c020977@d06av02.portsmouth.uk.ibm.com>
On 10/27/2011 01:05 AM, Ulrich Weigand wrote:
>> Richard Henderson wrote:
>>> On 10/26/2011 07:30 AM, Ulrich Weigand wrote:
>>>> This fails since for u == 4 and mode == V4SFmode it attempts to expand
>>>> a V4SFmode shift, which is unsupported.
>>>>
>>>> Shouldn't this be using the mode of the selector rather than the mode
>>>> of the result in any case?
>>>
>>> Yes, it should use the mode of the selector. And doing just that is
>>> enough to fix the bug. But I noticed that the actual results for a
>>> constant permutation were much nastier than they ought to be.
>>>
>>> Try this.
>>
>> Thanks, this has indeed fixed the build problem. Full test suite is
>> still running ...
>
> OK, the test suite has completed with no new regression...
Thanks. Committed.
r~