提交 cb2dbfc3 编写于 作者: A Aurelien Jarno

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

Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 686eeb93
...@@ -579,11 +579,14 @@ struct CPUPPCState { ...@@ -579,11 +579,14 @@ struct CPUPPCState {
/* floating point status and control register */ /* floating point status and control register */
uint32_t fpscr; uint32_t fpscr;
CPU_COMMON /* Next instruction pointer */
target_ulong nip;
int access_type; /* when a memory exception occurs, the access int access_type; /* when a memory exception occurs, the access
type is stored here */ type is stored here */
CPU_COMMON
/* MMU context - only relevant for full system emulation */ /* MMU context - only relevant for full system emulation */
#if !defined(CONFIG_USER_ONLY) #if !defined(CONFIG_USER_ONLY)
#if defined(TARGET_PPC64) #if defined(TARGET_PPC64)
...@@ -663,9 +666,6 @@ struct CPUPPCState { ...@@ -663,9 +666,6 @@ struct CPUPPCState {
#endif #endif
/* Those resources are used only during code translation */ /* Those resources are used only during code translation */
/* Next instruction pointer */
target_ulong nip;
/* opcode handlers */ /* opcode handlers */
opc_handler_t *opcodes[0x40]; opc_handler_t *opcodes[0x40];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册