mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
SPU LLVM: implemented asynchronous compilation
Implemented interpreter-based pre-recompiler. Interpreter functions are build with SPU LLVM.
This commit is contained in:
parent
29cddc30f0
commit
b329bb604c
6 changed files with 534 additions and 28 deletions
|
|
@ -45,9 +45,12 @@ void spu_recompiler::init()
|
|||
}
|
||||
}
|
||||
|
||||
spu_function_t spu_recompiler::compile(u64 last_reset_count, const std::vector<u32>& func)
|
||||
spu_function_t spu_recompiler::compile(u64 last_reset_count, const std::vector<u32>& func, void* fn_location)
|
||||
{
|
||||
const auto fn_location = m_spurt->find(last_reset_count, func);
|
||||
if (!fn_location)
|
||||
{
|
||||
fn_location = m_spurt->find(last_reset_count, func);
|
||||
}
|
||||
|
||||
if (fn_location == spu_runtime::g_dispatcher)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue