mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-03-15 22:21:25 +00:00
Bump scratch to 8k
This commit is contained in:
parent
7979c5d9eb
commit
839a25e129
@ -381,7 +381,7 @@ const auto ppu_gateway = build_function_asm<void(*)(ppu_thread*)>("ppu_gateway",
|
||||
|
||||
// GHC scratchpad mem. If managed correctly (i.e no returns ever), GHC functions should never require a stack frame.
|
||||
// We allocate a slab to use for all functions as they tail-call into each other.
|
||||
c.sub(a64::sp, a64::sp, Imm(4096));
|
||||
c.sub(a64::sp, a64::sp, Imm(8192));
|
||||
|
||||
// Execute LLE call
|
||||
c.blr(call_target);
|
||||
@ -390,7 +390,7 @@ const auto ppu_gateway = build_function_asm<void(*)(ppu_thread*)>("ppu_gateway",
|
||||
c.bind(hv_ctx_pc);
|
||||
|
||||
// Clear scratchpad allocation
|
||||
c.add(a64::sp, a64::sp, Imm(4096));
|
||||
c.add(a64::sp, a64::sp, Imm(8192));
|
||||
|
||||
c.ldr(a64::x20, arm::Mem(a64::sp));
|
||||
c.add(a64::sp, a64::sp, Imm(16));
|
||||
|
Loading…
x
Reference in New Issue
Block a user