Moved integer registers, PC and flags_* variables into new cpu_state structure. Reduces recompiled code size slightly, small speedup (1-3%).
This commit is contained in:
parent
1fe6233d4c
commit
c81a91fd72
52 changed files with 1494 additions and 1408 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#define MMX_ENTER() \
|
||||
if (!cpu_hasMMX) \
|
||||
{ \
|
||||
pc = oldpc; \
|
||||
cpu_state.pc = oldpc; \
|
||||
x86illegal(); \
|
||||
return 1; \
|
||||
} \
|
||||
|
|
@ -33,7 +33,7 @@ static int opEMMS(uint32_t fetchdat)
|
|||
{
|
||||
if (!cpu_hasMMX)
|
||||
{
|
||||
pc = oldpc;
|
||||
cpu_state.pc = oldpc;
|
||||
x86illegal();
|
||||
return 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue