Move some more variables into cpu_state structure. Minor speedup (~2%).
This commit is contained in:
parent
a65411466e
commit
c664682758
43 changed files with 801 additions and 810 deletions
|
|
@ -28,7 +28,7 @@ static int opMOV_r_CRx_a16(uint32_t fetchdat)
|
|||
}
|
||||
default:
|
||||
pclog("Bad read of CR%i %i\n",rmdat&7,cpu_reg);
|
||||
cpu_state.pc = oldpc;
|
||||
cpu_state.pc = cpu_state.oldpc;
|
||||
x86illegal();
|
||||
break;
|
||||
}
|
||||
|
|
@ -65,7 +65,7 @@ static int opMOV_r_CRx_a32(uint32_t fetchdat)
|
|||
}
|
||||
default:
|
||||
pclog("Bad read of CR%i %i\n",rmdat&7,cpu_reg);
|
||||
cpu_state.pc = oldpc;
|
||||
cpu_state.pc = cpu_state.oldpc;
|
||||
x86illegal();
|
||||
break;
|
||||
}
|
||||
|
|
@ -136,7 +136,7 @@ static int opMOV_CRx_r_a16(uint32_t fetchdat)
|
|||
|
||||
default:
|
||||
pclog("Bad load CR%i\n", cpu_reg);
|
||||
cpu_state.pc = oldpc;
|
||||
cpu_state.pc = cpu_state.oldpc;
|
||||
x86illegal();
|
||||
break;
|
||||
}
|
||||
|
|
@ -179,7 +179,7 @@ static int opMOV_CRx_r_a32(uint32_t fetchdat)
|
|||
|
||||
default:
|
||||
pclog("Bad load CR%i\n", cpu_reg);
|
||||
cpu_state.pc = oldpc;
|
||||
cpu_state.pc = cpu_state.oldpc;
|
||||
x86illegal();
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue