Re: [Qemu-devel] [PATCH v5 2/8] target/ppc: rework vmrg{l, h}{b, h, w} instructions to use Vsr* macros

2019-01-31 Thread Richard Henderson
On 1/30/19 12:36 PM, Mark Cave-Ayland wrote: > The current implementations make use of the endian-specific macros MRGLO/MRGHI > and also reference HI_IDX and LO_IDX directly to calculate array offsets. > > Rework the implementation to use the Vsr* macros so that these per-endian > references can

[Qemu-devel] [PATCH v5 2/8] target/ppc: rework vmrg{l, h}{b, h, w} instructions to use Vsr* macros

2019-01-30 Thread Mark Cave-Ayland
The current implementations make use of the endian-specific macros MRGLO/MRGHI and also reference HI_IDX and LO_IDX directly to calculate array offsets. Rework the implementation to use the Vsr* macros so that these per-endian references can be removed. Signed-off-by: Mark Cave-Ayland ---