unicorn/qemu/tcg/mips
Jin Guojie d2aa49e9d3
tcg-mips: Move bswap code to a subroutine
Without the mips32r2 instructions to perform swapping, bswap is quite large,
dominating the size of each reverse-endian qemu_ld/qemu_st operation.

Create a subroutine in the prologue block. The subroutine requires extra
reserved registers (TCG_TMP[2, 3]). Using these within qemu_ld means that
we need not place additional restrictions on the qemu_ld outputs.

Backports commit bb08afe9f0aee1a3f5c23508e2511b882ca31e1b from qemu
2018-03-01 12:35:20 -05:00
..
tcg-target.h tcg-mips: Move bswap code to a subroutine 2018-03-01 12:35:20 -05:00
tcg-target.inc.c tcg-mips: Move bswap code to a subroutine 2018-03-01 12:35:20 -05:00