From f014f3b7d4826e1f8a1a9c7cd8e2628c20c9b76f Mon Sep 17 00:00:00 2001 From: MerryMage Date: Mon, 22 Aug 2016 15:37:53 +0100 Subject: [PATCH] tests/fuzz_arm: Update FPSCR in InterpreterFallback --- tests/arm/fuzz_arm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/arm/fuzz_arm.cpp b/tests/arm/fuzz_arm.cpp index a54e60d2..9aa93342 100644 --- a/tests/arm/fuzz_arm.cpp +++ b/tests/arm/fuzz_arm.cpp @@ -99,6 +99,7 @@ static void InterpreterFallback(u32 pc, Dynarmic::Jit* jit) { interp_state.Reg = jit->Regs(); interp_state.ExtReg = jit->ExtRegs(); interp_state.Cpsr = jit->Cpsr(); + interp_state.VFP[VFP_FPSCR] = jit->Fpscr(); interp_state.Reg[15] = pc; InterpreterClearCache(); @@ -110,6 +111,7 @@ static void InterpreterFallback(u32 pc, Dynarmic::Jit* jit) { jit->Regs() = interp_state.Reg; jit->ExtRegs() = interp_state.ExtReg; jit->Cpsr() = interp_state.Cpsr; + jit->SetFpscr(interp_state.VFP[VFP_FPSCR]); } static void Fail() {