From a0c44df6c0cb2bd33a71590ac221dbd2f4bedaf3 Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Sun, 23 May 2010 08:41:58 +0000 Subject: misc stuff git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5468 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DSPCore/Src/DSPIntExtOps.cpp | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'Source/Core/DSPCore/Src/DSPIntExtOps.cpp') diff --git a/Source/Core/DSPCore/Src/DSPIntExtOps.cpp b/Source/Core/DSPCore/Src/DSPIntExtOps.cpp index 690dccf0a3..0928d57af7 100644 --- a/Source/Core/DSPCore/Src/DSPIntExtOps.cpp +++ b/Source/Core/DSPCore/Src/DSPIntExtOps.cpp @@ -19,22 +19,14 @@ #include "DSPIntExtOps.h" // Extended opcodes do not exist on their own. These opcodes can only be -// attached to opcodes that allow extending (8 lower bits of opcode not used by +// attached to opcodes that allow extending (8 (or 7) lower bits of opcode not used by // opcode). Extended opcodes do not modify program counter $pc register. // Most of the suffixes increment or decrement one or more addressing registers // (the first four, ARx). The increment/decrement is either 1, or the // corresponding "index" register (the second four, IXx). The addressing // registers will wrap in odd ways, dictated by the corresponding wrapping -// register, WP0-3. - -// The following should be applied as a decrement (and is applied by -// dsp_decrement_addr_reg): -// ar[i] = (ar[i] & wp[i]) == 0 ? ar[i] | wp[i] : ar[i] - 1; -// I have not found the corresponding algorithms for increments yet. -// It's gotta be fairly simple though. See R3123, R3125 in Google Code. -// (May have something to do with (ar[i] ^ wp[i]) == 0) - +// register, WR0-3. namespace DSPInterpreter { -- cgit v1.2.3