]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Refactor and fix INSERT.<B|H|W|D> instructions
authorMateja Marjanovic <Mateja.Marjanovic@rt-rk.com>
Tue, 2 Apr 2019 13:43:25 +0000 (15:43 +0200)
committerAleksandar Markovic <amarkovic@wavecomp.com>
Sun, 26 May 2019 15:33:16 +0000 (17:33 +0200)
commitc1c9a10fb1f7a6782711817c167a2c20b000fc12
tree82c85e2cc7c0a3f994843a6cd040d15753957e30
parent41d288582782cf8d63241ecb6efa1e4160fe78f7
target/mips: Refactor and fix INSERT.<B|H|W|D> instructions

The old version of the helper for the INSERT.<B|H|W|D> MSA instructions
has been replaced with four helpers that don't use switch, and change
the endianness of the given index, when executed on a big endian host.

Signed-off-by: Mateja Marjanovic <mateja.marjanovic@rt-rk.com>
Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Message-Id: <1554212605-16457-6-git-send-email-mateja.marjanovic@rt-rk.com>
target/mips/helper.h
target/mips/msa_helper.c
target/mips/translate.c