summaryrefslogtreecommitdiff
path: root/Source/Core/DSPCore/Src/DSPIntExtOps.cpp
diff options
context:
space:
mode:
authorpierre <pierre@pirsoft.de>2010-10-31 23:26:18 +0000
committerpierre <pierre@pirsoft.de>2010-10-31 23:26:18 +0000
commit4b9831cdce7ffa1fcb0fc5eda5e5686130096eb2 (patch)
tree31c40b514d03bf3134e0cf87c3b5518836ef957b /Source/Core/DSPCore/Src/DSPIntExtOps.cpp
parent2f2a76b28a0f612c2b2550d25cdae775de0614f5 (diff)
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
Diffstat (limited to 'Source/Core/DSPCore/Src/DSPIntExtOps.cpp')
-rw-r--r--Source/Core/DSPCore/Src/DSPIntExtOps.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/Core/DSPCore/Src/DSPIntExtOps.cpp b/Source/Core/DSPCore/Src/DSPIntExtOps.cpp
index 0486d2a238..ce4f29585e 100644
--- a/Source/Core/DSPCore/Src/DSPIntExtOps.cpp
+++ b/Source/Core/DSPCore/Src/DSPIntExtOps.cpp
@@ -28,6 +28,13 @@
// registers will wrap in odd ways, dictated by the corresponding wrapping
// register, WR0-3.
+// Needs comments.
+inline static void writeToBackLog(int i, int idx, u16 value)
+{
+ writeBackLog[i] = value;
+ writeBackLogIdx[i] = idx;
+}
+
namespace DSPInterpreter
{