SPU: implement recompiler gateway function in assembly

Use GHC calling convention directly for SPU object entry points.
This may address performance degradation after #5923.
This commit is contained in:
Nekotekina 2019-05-11 19:21:07 +03:00
parent a74fd27e3d
commit f33b81545e
3 changed files with 176 additions and 67 deletions

View file

@ -832,7 +832,7 @@ void spu_thread::cpu_task()
}
}
spu_runtime::g_dispatcher[0](*this, vm::_ptr<u8>(offset), nullptr);
spu_runtime::g_gateway(*this, vm::_ptr<u8>(offset), nullptr);
}
// Print some stats