reverted quantizer fix - causes heavy slowdown in some games. I have a better idea :p

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@383 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-08-30 13:17:07 +00:00
parent 5ac5a04982
commit 53afa1f900
1 changed files with 2 additions and 1 deletions

View File

@ -60,12 +60,13 @@ namespace Jit64
// If the value changed, destroy all blocks using this quantizer
// This will create a little bit of block churn, but hopefully not too bad.
{
/*
MOV(32, R(EAX), M(&PowerPC::ppcState.spr[iIndex])); // Load old value
CMP(32, R(EAX), gpr.R(inst.RD));
FixupBranch skip_destroy = J_CC(CC_E, false);
int gqr = iIndex - SPR_GQR0;
ABI_CallFunctionC(ProtectFunction(&Jit64::DestroyBlocksWithFlag, 1), (u32)BLOCK_USE_GQR0 << gqr);
SetJumpTarget(skip_destroy);
SetJumpTarget(skip_destroy);*/
}
break;
// TODO - break block if quantizers are written to.