mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-21 12:04:45 +00:00
S_CMPK_EQ_U32
This commit is contained in:
parent
2240bdf543
commit
dca823424b
1 changed files with 2 additions and 3 deletions
|
@ -468,9 +468,8 @@ 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])};
|
||||
const IR::U32 adjusted_src1 = ir.Imm32(simm16);
|
||||
ir.SetScc(ir.IEqual(src0, adjusted_src1));
|
||||
const IR::U32 src1{ir.Imm32(simm16)};
|
||||
ir.SetScc(ir.IEqual(src0, src1));
|
||||
}
|
||||
|
||||
} // namespace Shader::Gcn
|
||||
|
|
Loading…
Add table
Reference in a new issue