Removed a stray MOV in increase_addr_reg, fixed decrease_addr_reg. NR should work now.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5329 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st
2010-04-11 14:06:46 +00:00
parent 800595980e
commit 945f8089b8
4 changed files with 41 additions and 33 deletions

View File

@ -21,16 +21,7 @@ class DSPJitTester
bool AreEqual(SDSP&, SDSP&);
public:
DSPJitTester(u16 opcode, u16 opcode_ext, bool verbose = false)
: be_verbose(verbose), run_count(0), fail_count(0)
{
instruction = opcode << 9 | opcode_ext;
opcode_template = GetOpTemplate(instruction);
sprintf(instruction_name, "%s", opcode_template->name);
if (opcode_template->extended)
sprintf(&instruction_name[strlen(instruction_name)], "'%s",
extOpTable[instruction & (((instruction >> 12) == 0x3) ? 0x7F : 0xFF)]->name);
}
DSPJitTester(u16 opcode, u16 opcode_ext, bool verbose = false);
bool Test(SDSP);
SDSP RunInterpreter(SDSP);
SDSP RunJit(SDSP);
@ -42,6 +33,7 @@ public:
inline int GetFailCount() { return fail_count; }
inline const char* GetInstructionName() { return instruction_name; }
void Report();
void DumpJittedCode();
static void Initialize();
};