mirror of
https://github.com/hedge-dev/XenonRecomp.git
synced 2025-10-30 07:11:38 +00:00
Implement dbnzf
This commit is contained in:
parent
0bf4d36532
commit
03a04bcf78
1 changed files with 6 additions and 0 deletions
|
|
@ -685,6 +685,12 @@ bool Recompiler::Recompile(
|
||||||
println("\tif ({}.u32 != 0 && !{}.eq) goto loc_{:X};", ctr(), cr(insn.operands[0] / 4), insn.operands[1]);
|
println("\tif ({}.u32 != 0 && !{}.eq) goto loc_{:X};", ctr(), cr(insn.operands[0] / 4), insn.operands[1]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case PPC_INST_BDNZT:
|
||||||
|
// NOTE(crack): Same note as BDNZF but true instead of false
|
||||||
|
println("\t--{}.u64;", ctr());
|
||||||
|
println("\tif ({}.u32 != 0 && {}.eq) goto loc_{:X};", ctr(), cr(insn.operands[0] / 4), insn.operands[1]);
|
||||||
|
break;
|
||||||
|
|
||||||
case PPC_INST_BEQ:
|
case PPC_INST_BEQ:
|
||||||
printConditionalBranch(false, "eq");
|
printConditionalBranch(false, "eq");
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue