mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
SPU ASMJIT: skip some unused analyser steps
May improve performance
This commit is contained in:
parent
ba1ec1d5d6
commit
a703460fc6
|
|
@ -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…
Reference in a new issue