From: Aurelien Jarno Date: Thu, 22 Oct 2009 12:55:37 +0000 (+0200) Subject: target-ppc: move often used CPU fields at the top of the structure X-Git-Tag: TizenStudio_2.0_p2.3~7001 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=790b22c3e89a8a1e9133680603a1f8110c15ada7;p=sdk%2Femulator%2Fqemu.git target-ppc: move often used CPU fields at the top of the structure Signed-off-by: Aurelien Jarno --- diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 27f523f..f1d7d80 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -579,11 +579,14 @@ struct CPUPPCState { /* floating point status and control register */ uint32_t fpscr; - CPU_COMMON + /* Next instruction pointer */ + target_ulong nip; int access_type; /* when a memory exception occurs, the access type is stored here */ + CPU_COMMON + /* MMU context - only relevant for full system emulation */ #if !defined(CONFIG_USER_ONLY) #if defined(TARGET_PPC64) @@ -663,9 +666,6 @@ struct CPUPPCState { #endif /* Those resources are used only during code translation */ - /* Next instruction pointer */ - target_ulong nip; - /* opcode handlers */ opc_handler_t *opcodes[0x40];