v1.19.6: Improved restartability of stack-related instructions
This commit is contained in:
parent
978b668a42
commit
deeac4902d
174 changed files with 9030 additions and 1736 deletions
|
|
@ -1118,6 +1118,9 @@ X86.opPUSHFS = function PUSHFS()
|
|||
*/
|
||||
X86.opPOPFS = function POPFS()
|
||||
{
|
||||
/*
|
||||
* Any operation that modifies the stack before loading a new segment must snapshot regLSP first.
|
||||
*/
|
||||
this.opLSP = this.regLSP;
|
||||
this.setFS(this.popWord());
|
||||
this.nStepCycles -= this.cycleCounts.nOpCyclesPopReg;
|
||||
|
|
@ -1190,6 +1193,9 @@ X86.opPUSHGS = function PUSHGS()
|
|||
*/
|
||||
X86.opPOPGS = function POPGS()
|
||||
{
|
||||
/*
|
||||
* Any operation that modifies the stack before loading a new segment must snapshot regLSP first.
|
||||
*/
|
||||
this.opLSP = this.regLSP;
|
||||
this.setGS(this.popWord());
|
||||
this.nStepCycles -= this.cycleCounts.nOpCyclesPopReg;
|
||||
|
|
|
|||
Loading…
Reference in a new issue