shader: Add missing I2I exception when CC is used

This commit is contained in:
ReinUsesLisp 2021-03-27 05:26:29 -03:00 committed by ameerj
parent dbd882ddeb
commit 0e1b213fa7

View file

@ -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");
} }