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