summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJin Guojie2017-01-05 05:57:46 +0100
committerRichard Henderson2017-01-06 19:03:54 +0100
commitbb08afe9f0aee1a3f5c23508e2511b882ca31e1b (patch)
tree351a7eb593bfc57e2c88ef4bcf1865c4fedf2df4 /include
parentMerge remote-tracking branch 'remotes/gonglei/tags/cryptodev-next-20161224' i... (diff)
downloadqemu-bb08afe9f0aee1a3f5c23508e2511b882ca31e1b.tar.gz
qemu-bb08afe9f0aee1a3f5c23508e2511b882ca31e1b.tar.xz
qemu-bb08afe9f0aee1a3f5c23508e2511b882ca31e1b.zip
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. Tested-by: Aurelien Jarno <aurelien@aurel32.net> Tested-by: James Hogan <james.hogan@imgtec.com> Tested-by: YunQiang Su <wzssyqa@gmail.com> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Jin Guojie <jinguojie@loongson.cn> Message-Id: <1483592275-4496-2-git-send-email-jinguojie@loongson.cn>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions