mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-30 23:33:17 +00:00
Add patches for F16C instructions under Rosetta 2.
This commit is contained in:
parent
905d49fd96
commit
a17150960f
8 changed files with 292 additions and 37 deletions
|
@ -9,6 +9,12 @@ class CodeGenerator;
|
|||
|
||||
namespace Core {
|
||||
|
||||
/// Initializes a stack for the current thread for use by patch implementations.
|
||||
void InitializeThreadPatchStack();
|
||||
|
||||
/// Cleans up the patch stack for the current thread.
|
||||
void CleanupThreadPatchStack();
|
||||
|
||||
/// Patches CPU instructions that cannot run as-is on the host.
|
||||
void PatchInstructions(u64 segment_addr, u64 segment_size, Xbyak::CodeGenerator& c);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue