mbox series

[0/4] target/mips: Add support for MSA instructions on a big endian host

Message ID 1553270080-7829-1-git-send-email-mateja.marjanovic@rt-rk.com (mailing list archive)
Headers show
Series target/mips: Add support for MSA instructions on a big endian host | expand

Message

Mateja Marjanovic March 22, 2019, 3:54 p.m. UTC
From: Mateja Marjanovic <Mateja.Marjanovic@rt-rk.com>

Change endianness when the host machine has a big endian CPU, for
MSA instructions <ld|st>.<b|h|w|d>, copy_<s|u>.<b|h|w>, insert.<b|h|w>.

Mateja Marjanovic (4):
  target/mips: Fix <ld|st>.<b|h|w|d> MSA instructions for MIPS big
    endian host
  target/mips: Fix copy_s.<b|h|w> for MIPS big endian host
  target/mips: Fix copy_u.<b|h|w> for MIPS big endian host
  target/mips: Fix insert.<b|h|w> for MIPS big endian host

 target/mips/msa_helper.c | 23 ++++++++++++++
 target/mips/op_helper.c  | 79 +++++++++++++++++++++++++++++++++---------------
 2 files changed, 78 insertions(+), 24 deletions(-)