]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg/ia64: fix and optimize ld/st slow path
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 25 Aug 2012 22:45:27 +0000 (00:45 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 28 Aug 2012 06:50:03 +0000 (01:50 -0500)
commit50462f2ca8098aff7d947772446b6060e2f59f79
treec188a71ef6a03f98c28dd61d8630cd0e138798a5
parentec16f35e4e448a11741263c08bf4e76533c435c8
tcg/ia64: fix and optimize ld/st slow path

Store slow path has been broken in e141ab52d:
- the arguments are shifted before the last one (mem_index) is written.
- the shift is done for both slow and fast paths.

Fix that. Also optimize a bit by bundling the move together. This still
can be optimized, but it's better to wait for a decision to be taken on
the arguments order.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit d03c98d80ffb7c561d9e6874580f52fe7ecc8c6c)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
tcg/ia64/tcg-target.c