From 325213d75fab17082b5a47e0f46a727f1d3213d9 Mon Sep 17 00:00:00 2001 From: Marko Pusljar Date: Wed, 13 Apr 2011 10:32:03 +0000 Subject: [PATCH] llejit/clrp - gbakey working now git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7456 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp b/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp index cab2bb194d..c37449c0c7 100644 --- a/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp +++ b/Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp @@ -174,8 +174,13 @@ void DSPEmitter::clrp(const UDSPInstruction opc) // g_dsp.r[DSP_REG_PRODH] = 0x00ff; // g_dsp.r[DSP_REG_PRODM2] = 0x0010; //64bit move to memory does not work. use 2 32bits - MOV(32, M(&g_dsp.r.prod.val), Imm32(0xfff00000U)); - MOV(32, M(&g_dsp.r.prod.val+4), Imm32(0x001000ffU)); + //MOV(32, M(&g_dsp.r.prod.val), Imm32(0xfff00000U)); + //MOV(32, M(&g_dsp.r.prod.val+4), Imm32(0x001000ffU)); + //2x32 causing probs with gbakey, 4x16 working ok + MOV(16, M(&g_dsp.r.prod.l), Imm16(0x0000)); + MOV(16, M(&g_dsp.r.prod.m), Imm16(0xfff0)); + MOV(16, M(&g_dsp.r.prod.h), Imm16(0x00ff)); + MOV(16, M(&g_dsp.r.prod.m2),Imm16(0x0010)); #else Default(opc); #endif