SPU LLVM: use branch patchpoints again

Renewed and adapted for PIC and all branch types.
This may address performance degradation after #5923.
This commit is contained in:
Nekotekina 2019-05-12 03:22:14 +03:00
parent 2f6707d0a0
commit 1eed421774
3 changed files with 56 additions and 49 deletions

View file

@ -954,7 +954,7 @@ void spu_recompiler::branch_fixed(u32 target)
return;
}
const auto ppptr = m_spurt->make_branch_patchpoint(target);
const auto ppptr = m_spurt->make_branch_patchpoint();
c->mov(SPU_OFF_32(pc), target);
c->xor_(qw0->r32(), qw0->r32());