diff options
| author | magumagu9 <magumagu9@gmail.com> | 2008-12-30 03:45:16 +0000 |
|---|---|---|
| committer | magumagu9 <magumagu9@gmail.com> | 2008-12-30 03:45:16 +0000 |
| commit | e8949267f03e4ee9416e192ee83f9e6fb5b89712 (patch) | |
| tree | dc15fb23d6dae00d64ac0f74c0318041816c7a54 | |
| parent | d75bcf9e6318eb820db43bd34b5ac9ccc8b24b9a (diff) | |
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
| -rw-r--r-- | Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp index acfc331ce2..cc74cd53fe 100644 --- a/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp +++ b/Source/Core/Core/Src/PowerPC/Jit64/Jit_LoadStore.cpp @@ -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)); |
