]> git.proxmox.com Git - qemu.git/commit
target-ppc: memory load/store rework
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 8 Dec 2008 18:11:21 +0000 (18:11 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 8 Dec 2008 18:11:21 +0000 (18:11 +0000)
commit76db3ba44ee8db671f804755f13b016eefd13288
tree27a994debcce26c82212a9326585f66e48953823
parent8bba3ea1fcecbb750caefcbb57c2a576fc9434f6
target-ppc: memory load/store rework

Rework the memory load/store:
- Unify load/store functions for 32-bit and 64-bit CPU
- Don't swap values twice for bit-reverse load/store functions
  in little endian mode.
- On a 64-bit CPU in 32-bit mode, do the address truncation for
  address computation instead of every load store. Truncate the
  address when incrementing the address (if needed)
- Cache writes to access_types.
- Add a few missing calls to gen_set_access_type()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5949 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc/op_helper.c
target-ppc/translate.c