mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 20:36:16 +00:00
Handle more 64bit shifts in Translator (#1825)
This commit is contained in:
parent
0f69697acb
commit
9dcf40e261
3 changed files with 27 additions and 1 deletions
|
@ -1273,6 +1273,10 @@ void Translator::V_LSHL_B64(const GcnInst& inst) {
|
|||
ir.SetVectorReg(dst_reg + 1, ir.Imm32(static_cast<u32>(result >> 32)));
|
||||
return;
|
||||
}
|
||||
|
||||
const IR::U64 result = ir.ShiftLeftLogical(src0, ir.BitwiseAnd(src1, ir.Imm64(u64(0x3F))));
|
||||
SetDst64(inst.dst[0], result);
|
||||
return;
|
||||
}
|
||||
UNREACHABLE_MSG("Unimplemented V_LSHL_B64 arguments");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue