Re: [PATCH v4 03/11] target/ppc: add byte-reverse br[dwh] instructions

2020-07-07 Thread David Gibson
On Wed, Jul 01, 2020 at 06:43:38PM -0500, Lijun Pan wrote: > POWER ISA 3.1 introduces following byte-reverse instructions: > brd: Byte-Reverse Doubleword X-form > brw: Byte-Reverse Word X-form > brh: Byte-Reverse Halfword X-form > > Signed-off-by: Lijun Pan Applied to ppc-for-5.2. > --- > v4: m

[PATCH v4 03/11] target/ppc: add byte-reverse br[dwh] instructions

2020-07-01 Thread Lijun Pan
POWER ISA 3.1 introduces following byte-reverse instructions: brd: Byte-Reverse Doubleword X-form brw: Byte-Reverse Word X-form brh: Byte-Reverse Halfword X-form Signed-off-by: Lijun Pan --- v4: make it compile on all targets v3: fix the store issue in br[dwh] simplify brw implementation