mirror of https://github.com/PCSX2/pcsx2.git
Aligned Stack for sVU in linux/gcc (missed the .S file in the last commit).
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2073 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
b96ab5621f
commit
d8ba450d9c
|
@ -24,10 +24,10 @@ SuperVUExecuteProgram:
|
|||
mov s_vu1esi, esi
|
||||
mov s_vuedi, edi
|
||||
mov s_vuebx, ebx
|
||||
#ifdef PCSX2_DEBUG
|
||||
|
||||
mov s_vu1esp, esp
|
||||
#endif
|
||||
|
||||
and esp, -16 // align stack for GCC compilance
|
||||
|
||||
ldmxcsr g_sseVUMXCSR
|
||||
mov dword ptr s_writeQ, 0xffffffff
|
||||
mov dword ptr s_writeP, 0xffffffff
|
||||
|
@ -41,10 +41,8 @@ SuperVUEndProgram:
|
|||
mov edi, s_vuedi
|
||||
mov ebx, s_vuebx
|
||||
|
||||
#ifdef PCSX2_DEBUG
|
||||
sub s_vu1esp, esp
|
||||
#endif
|
||||
|
||||
mov esp, s_vu1esp
|
||||
|
||||
call SuperVUCleanupProgram
|
||||
jmp [s_callstack] // so returns correctly
|
||||
|
||||
|
|
Loading…
Reference in New Issue