mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-10-30 07:11:38 +00:00
Implement eqv
This commit is contained in:
parent
5fce07aff4
commit
133e95a399
1 changed files with 7 additions and 0 deletions
|
|
@ -869,6 +869,13 @@ bool Recompiler::Recompile(
|
|||
// no op
|
||||
break;
|
||||
|
||||
case PPC_INST_EQV:
|
||||
// rA = ~(rS XOR rB)
|
||||
println("\t{}.u64 = ~({}.u64 ^ {}.u64);", r(insn.operands[0]), r(insn.operands[1]), r(insn.operands[2]));
|
||||
if (strchr(insn.opcode->name, '.'))
|
||||
println("\t{}.compare<int32_t>({}.s32, 0, {});", cr(0), r(insn.operands[0]), xer());
|
||||
break;
|
||||
|
||||
case PPC_INST_EXTSB:
|
||||
println("\t{}.s64 = {}.s8;", r(insn.operands[0]), r(insn.operands[1]));
|
||||
if (strchr(insn.opcode->name, '.'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue