From f316c856f288a2b269704e3c062f145ba50a635c Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sat, 21 Jan 2023 23:16:36 -0800 Subject: [PATCH] Note to self --- Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp b/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp index 5a8ba36de9..6bd4220896 100644 --- a/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp +++ b/Source/Core/Core/DSP/Jit/x64/DSPEmitter.cpp @@ -102,6 +102,8 @@ static bool CheckExceptionsThunk(DSPCore& dsp) void DSPEmitter::checkExceptions(u16 retval) { // Check for interrupts and exceptions + // TODO: Maybe we can use CL/CH registers to merge together these checks (with a 16-bit test + // afterwards)? TEST(8, M_SDSP_exceptions(), Imm8(0xff)); FixupBranch skipCheck = J_CC(CC_NZ, Jump::Near);