mtspr fall through to interpreter not needed for basic SPRs
This commit is contained in:
parent
d261dfaf46
commit
cd99e5e3a6
|
@ -26,6 +26,19 @@ void Jit64::mtspr(UGeckoInstruction inst)
|
|||
|
||||
switch (iIndex)
|
||||
{
|
||||
|
||||
case SPR_DMAU:
|
||||
|
||||
case SPR_SPRG0:
|
||||
case SPR_SPRG1:
|
||||
case SPR_SPRG2:
|
||||
case SPR_SPRG3:
|
||||
|
||||
case SPR_SRR0:
|
||||
case SPR_SRR1:
|
||||
// These are safe to do the easy way, see the bottom of this function.
|
||||
break;
|
||||
|
||||
case SPR_LR:
|
||||
case SPR_CTR:
|
||||
case SPR_XER:
|
||||
|
|
|
@ -36,6 +36,19 @@ void JitArm::mtspr(UGeckoInstruction inst)
|
|||
|
||||
switch (iIndex)
|
||||
{
|
||||
|
||||
case SPR_DMAU:
|
||||
|
||||
case SPR_SPRG0:
|
||||
case SPR_SPRG1:
|
||||
case SPR_SPRG2:
|
||||
case SPR_SPRG3:
|
||||
|
||||
case SPR_SRR0:
|
||||
case SPR_SRR1:
|
||||
// These are safe to do the easy way, see the bottom of this function.
|
||||
break;
|
||||
|
||||
case SPR_LR:
|
||||
case SPR_CTR:
|
||||
case SPR_XER:
|
||||
|
|
Loading…
Reference in New Issue