tests/fuzz_arm: Update FPSCR in InterpreterFallback
This commit is contained in:
parent
72250b119f
commit
f014f3b7d4
1 changed files with 2 additions and 0 deletions
|
@ -99,6 +99,7 @@ static void InterpreterFallback(u32 pc, Dynarmic::Jit* jit) {
|
||||||
interp_state.Reg = jit->Regs();
|
interp_state.Reg = jit->Regs();
|
||||||
interp_state.ExtReg = jit->ExtRegs();
|
interp_state.ExtReg = jit->ExtRegs();
|
||||||
interp_state.Cpsr = jit->Cpsr();
|
interp_state.Cpsr = jit->Cpsr();
|
||||||
|
interp_state.VFP[VFP_FPSCR] = jit->Fpscr();
|
||||||
interp_state.Reg[15] = pc;
|
interp_state.Reg[15] = pc;
|
||||||
|
|
||||||
InterpreterClearCache();
|
InterpreterClearCache();
|
||||||
|
@ -110,6 +111,7 @@ static void InterpreterFallback(u32 pc, Dynarmic::Jit* jit) {
|
||||||
jit->Regs() = interp_state.Reg;
|
jit->Regs() = interp_state.Reg;
|
||||||
jit->ExtRegs() = interp_state.ExtReg;
|
jit->ExtRegs() = interp_state.ExtReg;
|
||||||
jit->Cpsr() = interp_state.Cpsr;
|
jit->Cpsr() = interp_state.Cpsr;
|
||||||
|
jit->SetFpscr(interp_state.VFP[VFP_FPSCR]);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Fail() {
|
static void Fail() {
|
||||||
|
|
Loading…
Reference in a new issue