hotfix: Revert ADDC change

This commit is contained in:
TheTurtle 2024-09-22 01:53:10 +03:00 committed by GitHub
parent 7185dd8943
commit d11415ca53

View file

@ -567,7 +567,8 @@ void Translator::V_ADDC_U32(const GcnInst& inst) {
const IR::U32 scarry = IR::U32{ir.Select(carry, ir.Imm32(1), ir.Imm32(0))};
const IR::U32 result = ir.IAdd(ir.IAdd(src0, src1), scarry);
SetDst(inst.dst[0], result);
const IR::VectorReg dst_reg{inst.dst[0].code};
ir.SetVectorReg(dst_reg, result);
const IR::U1 less_src0 = ir.ILessThan(result, src0, false);
const IR::U1 less_src1 = ir.ILessThan(result, src1, false);