From 76fd0479b8a5e6b4dd883d8b3d3436c3e30ce26f Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Wed, 20 Jul 2022 16:38:54 -0700 Subject: [PATCH] JitAsm: Remove old commented-out code I'm not sure what the XMM0 check was supposed to be, but the 0xCC008000 one is for the fifo and is handled elsewhere now (look for `optimizeGatherPipe`). --- Source/Core/Core/PowerPC/Jit64/JitAsm.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp b/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp index b1dd505c34..1fbdc8306e 100644 --- a/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp +++ b/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp @@ -246,21 +246,4 @@ void Jit64AsmRoutineManager::GenerateCommon() GenQuantizedSingleLoads(); GenQuantizedStores(); GenQuantizedSingleStores(); - - // CMPSD(R(XMM0), M(&zero), - // TODO - - // Fast write routines - special case the most common hardware write - // TODO: use this. - // Even in x86, the param values will be in the right registers. - /* - const u8 *fastMemWrite8 = AlignCode16(); - CMP(32, R(ABI_PARAM2), Imm32(0xCC008000)); - FixupBranch skip_fast_write = J_CC(CC_NE, false); - MOV(32, RSCRATCH, M(&m_gatherPipeCount)); - MOV(8, MDisp(RSCRATCH, (u32)&m_gatherPipe), ABI_PARAM1); - ADD(32, 1, M(&m_gatherPipeCount)); - RET(); - SetJumpTarget(skip_fast_write); - CALL((void *)&PowerPC::Write_U8);*/ }