MMX fixes :
- Initialise x87 tags correctly in recompiler - EMMS/FEMMS now respect cr0 TS bit - FRSTOR now doesn't force all non-uint64 tags to valid Fixes Heaven 7 with AudioPCI
This commit is contained in:
parent
b84fefacb7
commit
cb6422b324
7 changed files with 12 additions and 10 deletions
|
|
@ -910,9 +910,10 @@ static int codegen_MMX_ENTER(codeblock_t *block, uop_t *uop)
|
|||
|
||||
*branch_ptr |= ((((uintptr_t)&block_write_data[block_pos] - (uintptr_t)branch_ptr) - 8) & 0x3fffffc) >> 2;
|
||||
|
||||
host_arm_MOV_IMM(block, REG_TEMP, 0);
|
||||
host_arm_MOV_IMM(block, REG_TEMP, 0x01010101);
|
||||
host_arm_STR_IMM(block, REG_TEMP, REG_CPUSTATE, (uintptr_t)&cpu_state.tag[0] - (uintptr_t)&cpu_state);
|
||||
host_arm_STR_IMM(block, REG_TEMP, REG_CPUSTATE, (uintptr_t)&cpu_state.tag[4] - (uintptr_t)&cpu_state);
|
||||
host_arm_MOV_IMM(block, REG_TEMP, 0);
|
||||
host_arm_STR_IMM(block, REG_TEMP, REG_CPUSTATE, (uintptr_t)&cpu_state.TOP - (uintptr_t)&cpu_state);
|
||||
host_arm_STRB_IMM(block, REG_TEMP, REG_CPUSTATE, (uintptr_t)&cpu_state.ismmx - (uintptr_t)&cpu_state);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue