Fix immediate coalescing with zero flag loss
This commit is contained in:
parent
d7c9f15593
commit
2c9fd0e1a6
|
@ -33059,7 +33059,7 @@ bool NativeCodeBasicBlock::MoveLoadImmStoreAbsoluteUp(int at)
|
||||||
|
|
||||||
NativeCodeInstruction sins = mIns[at + 1];
|
NativeCodeInstruction sins = mIns[at + 1];
|
||||||
mIns.Remove(at + 1);
|
mIns.Remove(at + 1);
|
||||||
if (!(sins.mLive & LIVE_CPU_REG_A))
|
if (!(sins.mLive & (LIVE_CPU_REG_A | LIVE_CPU_REG_Z)))
|
||||||
mIns.Remove(at);
|
mIns.Remove(at);
|
||||||
|
|
||||||
if (sins.ReferencesXReg())
|
if (sins.ReferencesXReg())
|
||||||
|
|
Loading…
Reference in New Issue