]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/arm: bswap arguments in qemu_ld/st if needed
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 9 Apr 2010 18:52:48 +0000 (20:52 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 19 Apr 2010 05:03:06 +0000 (07:03 +0200)
commit67dcab7327bb7fe02912734bf774ca44d84b41a1
tree9d5fe57458047eb514c22d84615049c0980aab65
parente854b6d39c879bf36c1cf42f1dbfa0da89b06e75
tcg/arm: bswap arguments in qemu_ld/st if needed

On big endian targets, data arguments of qemu_ld/st ops have to be
byte swapped. Two temporary registers are needed for qemu_st to do
the bswap. r0 and r1 are used in system mode, do the same in user
mode, which implies reworking the constraints.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/arm/tcg-target.c