Made some quick fixes to the Linux block manager for the EErec (aR5900-32.S)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@664 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
Jake.Stine 2009-01-30 22:26:30 +00:00 committed by Gregory Hainaut
parent 347e6c44bb
commit e41d18164e
1 changed files with 6 additions and 15 deletions

View File

@ -29,15 +29,6 @@ Dispatcher:
# calc PC_GETBLOCK
# ((BASEBLOCK*)(recLUT[((u32)(x)) >> 16] + (sizeof(BASEBLOCK)/4)*((x) & 0xffff)))
#mov %eax, dword ptr [cpuRegs + PCOFFSET]
#mov REG_BLOCK, %eax
#mov REG_PC, %eax
#shr %eax, 16
#and REG_BLOCK, 0xffff
#shl %eax, 2
#add %eax, dword ptr [recLUT]
#shl REG_BLOCK, 1
#add REG_BLOCK, dword ptr [%eax]
mov %eax,dword ptr [cpuRegs+PCOFFSET]
mov %ecx,%eax
@ -54,13 +45,13 @@ Dispatcher:
je Dispatcher_CheckPtr
// recompile
push REG_BLOCK
push %ecx
push REG_PC // pc
call recRecompile
add %esp, 4
pop %eax // eax is now the REG_BLOCK
pop %ecx // ecx is now the REG_BLOCK
Dispatcher_CheckPtr:
mov %eax, dword ptr [%eax]
mov %eax, dword ptr [%ecx]
#ifdef _DEBUG
test %eax, %eax
@ -158,13 +149,13 @@ DispatcherReg:
je Dispatcher_CheckPtr
// recompile
push REG_BLOCK
push %ecx
push REG_PC // pc
call recRecompile
add %esp, 4
pop %eax // eax is now the REG_BLOCK
pop %ecx
Dispatcher_CheckPtr:
mov %eax, dword ptr [%eax]
mov %eax, dword ptr [%ecx]
#ifdef _DEBUG
test %eax, %eax