S_CMPK_EQ_U32
This commit is contained in:
parent
af975cd646
commit
2240bdf543
|
@ -466,9 +466,11 @@ void Translator::S_MIN_U32(const GcnInst& inst) {
|
|||
}
|
||||
|
||||
void Translator::S_CMPK_EQ_U32(const GcnInst& inst) {
|
||||
const s32 simm16 = inst.control.sopk.simm;
|
||||
const IR::U32 src0{GetSrc(inst.src[0])};
|
||||
const IR::U32 src1{GetSrc(inst.src[1])};
|
||||
ir.SetScc(ir.IEqual(src0, src1));
|
||||
const IR::U32 adjusted_src1 = ir.Imm32(simm16);
|
||||
ir.SetScc(ir.IEqual(src0, adjusted_src1));
|
||||
}
|
||||
|
||||
} // namespace Shader::Gcn
|
||||
|
|
Loading…
Reference in New Issue