ppc: Convert GPR moves to TCG
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 4 Sep 2008 05:25:47 +0000 (05:25 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Thu, 4 Sep 2008 05:25:47 +0000 (05:25 +0000)
commitf78fb44e825421d386bc44090907d159a04839ef
tree0b9e3c3374bc24fe20700cb0a63cc4086ba8ab60
parent4f821e17574896c046c11bc073c1dc636a6f15d6
ppc: Convert GPR moves to TCG

Replace op_load_gpr_{T0,T1,T2} and op_store_{T0,T1,T2} with tcg_gen_mov_tl.
Introduce TCG variables cpu_gpr[0..31].

For the SPE extension, assure that ppc_gpr_t is only uint64_t for ppc64.
Introduce TCG variables cpu_gprh[0..31] for upper 32 bits on ppc and helpers
gen_{load,store}_gpr64. Based on suggestions by Aurelien, Thiemo and Blue.

Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5153 c046a42c-6fe2-441c-8c8c-71466251a162
target-ppc/cpu.h
target-ppc/op_template.h
target-ppc/translate.c