I think I figured out why stb and stbu JIT is broken on Linux 64-bit. I

don't want to actually attempt to fix it because I can't really test...



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1720 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
magumagu9 2008-12-30 03:45:16 +00:00
parent d75bcf9e63
commit e8949267f0
1 changed files with 2 additions and 0 deletions

View File

@ -392,6 +392,8 @@
FixupBranch unsafe_addr = J_CC(CC_NZ);
BSWAP(accessSize, ABI_PARAM1);
#ifdef _M_X64
// FIXME: On Linux x64, when accessSize == 8, R(ABI_PARAM1)
// refers to BH when we want DIL!
MOV(accessSize, MComplex(RBX, ABI_PARAM2, SCALE_1, 0), R(ABI_PARAM1));
#else
AND(32, R(ABI_PARAM2), Imm32(Memory::MEMVIEW32_MASK));