target-ppc: move often used CPU fields at the top of the structure

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
Aurelien Jarno 2009-10-22 14:55:37 +02:00
parent 686eeb93d5
commit cb2dbfc351
1 changed files with 4 additions and 4 deletions

View File

@ -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];