mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-08 07:28:09 +01:00
translate_arm: Translate more than one conditional instruction in a block
This commit is contained in:
parent
aa9b63bac4
commit
dc26afbd7e
4 changed files with 38 additions and 7 deletions
|
|
@ -1944,7 +1944,7 @@ void EmitX64::EmitCondPrelude(const IR::Block& block) {
|
|||
|
||||
// TODO: Improve, maybe.
|
||||
auto fixup = code->J_CC(cc, true);
|
||||
EmitAddCycles(block.cycle_count);
|
||||
EmitAddCycles(block.cond_failed_cycle_count);
|
||||
EmitTerminalLinkBlock(IR::Term::LinkBlock{block.cond_failed.get()}, block.location);
|
||||
code->SetJumpTarget(fixup);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue