mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Core/DSPCore: Extended opcode handling fixes
* Make writeToBackLog private to DSPIntExtOps.cpp (JIT variants of 'l and 'ln are disabled and broken as is) * Make zeroing of the backlog conditional on doing an interpreter fallback and do it at a few more places * Fix selection of cleanup for extended opcodes. * Fix the DSP unit tests to correctly emit the function prolog/epilog (else EBX wouldn't be saved) * Add a few more DSP unit tests git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6325 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
2f2a76b28a
commit
4b9831cdce
8 changed files with 269 additions and 15 deletions
|
@ -41,7 +41,9 @@ SDSP DSPJitTester::RunJit(SDSP dsp_settings)
|
|||
ResetJit();
|
||||
memcpy(&g_dsp, &dsp_settings, sizeof(SDSP));
|
||||
const u8* code = jit.GetCodePtr();
|
||||
jit.ABI_PushAllCalleeSavedRegsAndAdjustStack();
|
||||
jit.EmitInstruction(instruction);
|
||||
jit.ABI_PopAllCalleeSavedRegsAndAdjustStack();
|
||||
jit.RET();
|
||||
((void(*)())code)();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue