mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-04 15:40:02 +00:00
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:
parent
d75bcf9e63
commit
e8949267f0
@ -392,6 +392,8 @@
|
|||||||
FixupBranch unsafe_addr = J_CC(CC_NZ);
|
FixupBranch unsafe_addr = J_CC(CC_NZ);
|
||||||
BSWAP(accessSize, ABI_PARAM1);
|
BSWAP(accessSize, ABI_PARAM1);
|
||||||
#ifdef _M_X64
|
#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));
|
MOV(accessSize, MComplex(RBX, ABI_PARAM2, SCALE_1, 0), R(ABI_PARAM1));
|
||||||
#else
|
#else
|
||||||
AND(32, R(ABI_PARAM2), Imm32(Memory::MEMVIEW32_MASK));
|
AND(32, R(ABI_PARAM2), Imm32(Memory::MEMVIEW32_MASK));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user