thermosphere: rework fpu register handling

This commit is contained in:
TuxSH
2020-01-25 20:16:10 +00:00
parent e3961f225c
commit abc699aa3d
5 changed files with 45 additions and 21 deletions

View File

@@ -27,6 +27,8 @@
#include "debug_pause.h"
#include "timer.h"
#include "fpu.h"
bool spsrEvaluateConditionCode(u64 spsr, u32 conditionCode)
{
if (conditionCode == 14) {
@@ -121,6 +123,7 @@ void exceptionReturnPreprocess(ExceptionStackFrame *frame)
// Were we paused & are we about to return to the guest?
exceptionEnterInterruptibleHypervisorCode();
debugPauseWaitAndUpdateSingleStep();
fpuCleanInvalidateRegisterCache();
}
// Update virtual counter