[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 5/x v2] ppc: Convert GPR moves to TCG

From: Andreas Färber
Subject: [Qemu-devel] [PATCH 5/x v2] ppc: Convert GPR moves to TCG
Date: Wed, 3 Sep 2008 22:04:39 +0200

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 <address@hidden>
 target-ppc/cpu.h         |   12 +-
 target-ppc/op_template.h |   85 ------
target-ppc/translate.c | 747 +++++++++++++++++++++++ +----------------------
 3 files changed, 390 insertions(+), 454 deletions(-)

Attachment: 0001-ppc-Convert-GPR-moves-to-TCG.patch
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]