commit | 67dcab7327bb7fe02912734bf774ca44d84b41a1 | [log] [tgz] |
---|---|---|
author | Aurelien Jarno <aurelien@aurel32.net> | Fri Apr 09 20:52:48 2010 +0200 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Mon Apr 19 07:03:06 2010 +0200 |
tree | 9d5fe57458047eb514c22d84615049c0980aab65 | |
parent | e854b6d39c879bf36c1cf42f1dbfa0da89b06e75 [diff] |
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>