mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 20:15:27 +00:00
SPU ASMJIT: skip some unused analyser steps
May improve performance
This commit is contained in:
parent
ba1ec1d5d6
commit
a703460fc6
1 changed files with 11 additions and 0 deletions
|
@ -1861,6 +1861,17 @@ const std::vector<u32>& spu_recompiler_base::analyse(const be_t<u32>* ls, u32 en
|
|||
}
|
||||
}
|
||||
|
||||
// Skip some steps for asmjit
|
||||
if (g_cfg.core.spu_decoder == spu_decoder_type::asmjit)
|
||||
{
|
||||
if (result.size() == 1)
|
||||
{
|
||||
result.clear();
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
// Fill block info
|
||||
for (auto& pred : m_preds)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue