]> git.proxmox.com Git - qemu.git/commit
target-s390: Optimize get_address
authorRichard Henderson <rth@twiddle.net>
Fri, 21 Sep 2012 13:57:09 +0000 (06:57 -0700)
committerRichard Henderson <rth@twiddle.net>
Sat, 5 Jan 2013 20:18:46 +0000 (12:18 -0800)
commitbacf43c62e54ee21494c4bf0c39d96d2bcc0e260
treeeebd72006f747022bfb8f46869d99f3e2b7411d5
parentc95ec459c6c39b7a7e1850f82abd95eca4ccfcce
target-s390: Optimize get_address

Don't load the displacement into a register first, add it second
so that tcg_gen_addi_i64 can eliminate zeros.  Don't mask the
displacement first so that we don't turn small negative numbers
into large positive numbers.

Signed-off-by: Richard Henderson <rth@twiddle.net>
target-s390x/translate.c