SPU ASMJIT: skip some unused analyser steps

May improve performance
This commit is contained in:
Nekotekina 2019-05-04 19:35:13 +03:00
parent ba1ec1d5d6
commit a703460fc6

View File

@ -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)
{