mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-31 20:37:52 +00:00
shader: Add missing I2I exception when CC is used
This commit is contained in:
parent
dbd882ddeb
commit
0e1b213fa7
1 changed files with 4 additions and 0 deletions
|
@ -52,10 +52,14 @@ void I2I(TranslatorVisitor& v, u64 insn, const IR::U32& src_a) {
|
||||||
BitField<13, 1, u64> src_fmt_sign;
|
BitField<13, 1, u64> src_fmt_sign;
|
||||||
BitField<41, 3, u64> selector;
|
BitField<41, 3, u64> selector;
|
||||||
BitField<45, 1, u64> neg;
|
BitField<45, 1, u64> neg;
|
||||||
|
BitField<47, 1, u64> cc;
|
||||||
BitField<49, 1, u64> abs;
|
BitField<49, 1, u64> abs;
|
||||||
BitField<50, 1, u64> sat;
|
BitField<50, 1, u64> sat;
|
||||||
} const i2i{insn};
|
} const i2i{insn};
|
||||||
|
|
||||||
|
if (i2i.cc != 0) {
|
||||||
|
throw NotImplementedException("I2I CC");
|
||||||
|
}
|
||||||
if (i2i.sat != 0) {
|
if (i2i.sat != 0) {
|
||||||
throw NotImplementedException("I2I SAT");
|
throw NotImplementedException("I2I SAT");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue