[PATCH #3], Add PowerPC ISA 3.0 vpermr/xxpermr support
Kelvin Nilsen
kdnilsen@linux.vnet.ibm.com
Tue May 24 19:16:00 GMT 2016
I have committed gcc.target/powerpc/p9-vpermr.c to trunk (separately
from the other files mentioned in this ChangeLog), revision 236655.
Approved offline.
On 05/23/2016 05:16 PM, Segher Boessenkool wrote:
> On Mon, May 23, 2016 at 06:22:22PM -0400, Michael Meissner wrote:
>> Here are the patches for xxpermr/vpermr support that are broken out from fixing
>> the xxperm fusion bug. I have built a compiler with these patches (and the
>> xxperm patches) and it bootstraps and does not cause a regression. Are they ok
>> to add to GCC 7 and eventually to GCC 6.2?
>>
>> [gcc]
>> 2016-05-23 Michael Meissner <meissner@linux.vnet.ibm.com>
>> Kelvin Nilsen <kelvin@gcc.gnu.org>
>>
>> * config/rs6000/rs6000.c (rs6000_expand_vector_set): Generate
>> vpermr/xxpermr on ISA 3.0.
>> (altivec_expand_vec_perm_le): Likewise.
>> * config/rs6000/altivec.md (UNSPEC_VPERMR): New unspec.
>> (altivec_vpermr_<mode>_internal): Add VPERMR/XXPERMR support for
>> ISA 3.0.
>>
>> [gcc/testsuite]
>> 2016-05-23 Michael Meissner <meissner@linux.vnet.ibm.com>
>> Kelvin Nilsen <kelvin@gcc.gnu.org>
>>
>> * gcc.target/powerpc/p9-vpermr.c: New test for ISA 3.0 vpermr
>> support.
>
> Okay for trunk. Okay for 6 after a week or so.
>
> Thanks,
>
>
> Segher
>
>
--
Kelvin Nilsen, Ph.D. kdnilsen@linux.vnet.ibm.com
home office: 801-756-4821, cell: 520-991-6727
IBM Linux Technology Center - PPC Toolchain
More information about the Gcc-patches
mailing list