mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-06 00:59:18 +00: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 New Issue
Block a user