mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-24 05:33:06 +00:00
shader: Implement ISCADD CC
This commit is contained in:
parent
51475e21ba
commit
84298ce191
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,10 @@ void ISCADD(TranslatorVisitor& v, u64 insn, IR::U32 op_b) {
|
||||||
v.X(iscadd.dest_reg, result);
|
v.X(iscadd.dest_reg, result);
|
||||||
|
|
||||||
if (iscadd.cc != 0) {
|
if (iscadd.cc != 0) {
|
||||||
throw NotImplementedException("ISCADD CC");
|
v.SetZFlag(v.ir.GetZeroFromOp(result));
|
||||||
|
v.SetSFlag(v.ir.GetSignFromOp(result));
|
||||||
|
v.SetCFlag(v.ir.GetCarryFromOp(result));
|
||||||
|
v.SetOFlag(v.ir.GetOverflowFromOp(result));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue