mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-20 18:34:58 +00:00
shader_recompiler/frontend: Implement bitcmp
instructions (#1550)
This commit is contained in:
parent
c45af9a2ca
commit
17c47bcd96
4 changed files with 52 additions and 0 deletions
|
@ -174,6 +174,13 @@ T Translator::GetSrc(const InstOperand& operand) {
|
|||
value = ir.GetM0();
|
||||
}
|
||||
break;
|
||||
case OperandField::Scc:
|
||||
if constexpr (is_float) {
|
||||
UNREACHABLE();
|
||||
} else {
|
||||
value = ir.BitCast<IR::U32>(ir.GetScc());
|
||||
}
|
||||
break;
|
||||
default:
|
||||
UNREACHABLE();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue