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:
Jake.Stine 2009-10-24 23:36:40 +00:00
parent b96ab5621f
commit d8ba450d9c
1 changed files with 5 additions and 7 deletions

View File

@ -24,9 +24,9 @@ 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
@ -41,9 +41,7 @@ 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