]> git.ipfire.org Git - thirdparty/qemu.git/commit
tcg-ppc64: Fold constant call address into descriptor load
authorRichard Henderson <rth@twiddle.net>
Sat, 31 Aug 2013 13:13:49 +0000 (06:13 -0700)
committerRichard Henderson <rth@twiddle.net>
Wed, 25 Sep 2013 14:46:32 +0000 (07:46 -0700)
commitd40f3cb1128208d901b6224b52ff36ff05680d28
treead3ed1aa531c28554a1fcc88d50ca13963ad39cb
parentad94e1a9db52de4ddfd9940324249518e0265902
tcg-ppc64: Fold constant call address into descriptor load

Eliminates one insn per call:

 :  lis     r2,4165
-:  ori     r2,r2,59616
-:  ld      r0,0(r2)
+:  ld      r0,-5920(r2)
 :  mtctr   r0
-:  ld      r2,8(r2)
+:  ld      r2,-5912(r2)
 :  bctrl

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