mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
SPU ASMJIT: simplify patchpoints
Remove SPU thread reference from spu_recompiler_base Disable support for far jumps in pathpoints (they were rare and unsafe)
This commit is contained in:
parent
1ca51a023c
commit
8f91917e8c
5 changed files with 43 additions and 91 deletions
|
@ -531,13 +531,16 @@ SPUThread::SPUThread(const std::string& name, u32 index, lv2_spu_group* group)
|
|||
{
|
||||
if (g_cfg.core.spu_decoder == spu_decoder_type::asmjit)
|
||||
{
|
||||
jit = spu_recompiler_base::make_asmjit_recompiler(*this);
|
||||
jit = spu_recompiler_base::make_asmjit_recompiler();
|
||||
}
|
||||
|
||||
if (g_cfg.core.spu_decoder == spu_decoder_type::llvm)
|
||||
{
|
||||
jit = spu_recompiler_base::make_llvm_recompiler(*this);
|
||||
jit = spu_recompiler_base::make_llvm_recompiler();
|
||||
}
|
||||
|
||||
// Initialize lookup table
|
||||
jit_dispatcher.fill(&spu_recompiler_base::dispatch);
|
||||
}
|
||||
|
||||
void SPUThread::push_snr(u32 number, u32 value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue