OSDN Git Service

tcg-ppc: use new return-argument ld/st helpers
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 5 Sep 2013 08:22:09 +0000 (10:22 +0200)
committerRichard Henderson <rth@twiddle.net>
Wed, 25 Sep 2013 14:45:39 +0000 (07:45 -0700)
commit619f90ba62e27c674b1a9af8c0ae68eef8d64a92
tree4e9aa4d72353c96caf07ac9c8c62821e7f9f0b12
parent6a115579883e6c0e56394bf7aaabd04260e11233
tcg-ppc: use new return-argument ld/st helpers

These use a 32-bit load-of-immediate to save a mflr+addi+mtlr sequence.
Tested with a Windows 98 guest (pretty much the most recent thing I
could run on my PPC machine) and kvm-unit-tests's sieve.flat.  The
speed up for sieve.flat is as high as 10% for qemu-system-i386, 25%
(no kidding) for qemu-system-x86_64 on my PowerBook G4.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
include/exec/exec-all.h
tcg/ppc/tcg-target.c