Re: [PATCH] Add power10 BRD/BRW/BRH support.

2020-07-06 Thread Segher Boessenkool
Hi! On Wed, Jul 01, 2020 at 01:04:02PM -0400, Michael Meissner wrote: > This patch adds support for the Power10 BRD, BRW, and BRH instructions that do > byte swapping on values in GPRs. > I used '*' for the length attribute where it generates a single instruction. More exactly: those that can

[PATCH] Add power10 BRD/BRW/BRH support.

2020-07-01 Thread Michael Meissner via Gcc-patches
This patch adds support for the Power10 BRD, BRW, and BRH instructions that do byte swapping on values in GPRs. This patch is a revision of the byte swap patch proposed in: https://gcc.gnu.org/pipermail/gcc-patches/2020-June/546990.html I changed the DI swap function bswapdi2_brd instead of