]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/ppc: rework vmrg{l,h}{b,h,w} instructions to use Vsr* macros
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 30 Jan 2019 20:36:32 +0000 (20:36 +0000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 4 Feb 2019 07:44:19 +0000 (18:44 +1100)
commitd81c20404e2254e2f56d649c978c7fd6b28c3394
tree27ff1595026f663e47edadaccfec9f235041e79d
parent6e66d0c6484c7f5b30b7a08d83bd3d369ba58682
target/ppc: rework vmrg{l,h}{b,h,w} instructions to use Vsr* macros

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 <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/int_helper.c