3
0
Fork 0
forked from suyu/suyu

shader: Fix CC in I2I

This commit is contained in:
ReinUsesLisp 2021-04-11 21:15:44 -03:00 committed by ameerj
parent 23b8714732
commit 2516829e4c

View file

@ -105,6 +105,8 @@ void I2I(TranslatorVisitor& v, u64 insn, const IR::U32& src_a) {
if (i2i.cc != 0) { if (i2i.cc != 0) {
v.SetZFlag(v.ir.GetZeroFromOp(result)); v.SetZFlag(v.ir.GetZeroFromOp(result));
v.SetSFlag(v.ir.GetSignFromOp(result)); v.SetSFlag(v.ir.GetSignFromOp(result));
v.ResetCFlag();
v.ResetOFlag();
} }
} }
} // Anonymous namespace } // Anonymous namespace