Fixed old recompiler compiling in a kludgy way because it appears there's no STORE_IMM_ADDR_W.
This commit is contained in:
@@ -819,7 +819,7 @@ codegen_generate_call(uint8_t opcode, OpFn op, uint32_t fetchdat, uint32_t new_p
|
|||||||
int pc_off = 0;
|
int pc_off = 0;
|
||||||
int test_modrm = 1;
|
int test_modrm = 1;
|
||||||
int c;
|
int c;
|
||||||
uint16_t op87 = 0x0000;
|
uint32_t op87 = 0x00000000;
|
||||||
|
|
||||||
op_ea_seg = &cpu_state.seg_ds;
|
op_ea_seg = &cpu_state.seg_ds;
|
||||||
op_ssegs = 0;
|
op_ssegs = 0;
|
||||||
@@ -1010,7 +1010,7 @@ generate_call:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (op87 != 0x0000) {
|
if (op87 != 0x0000) {
|
||||||
STORE_IMM_ADDR_W((uintptr_t) &x87_op, op87);
|
STORE_IMM_ADDR_L((uintptr_t) &x87_op, op87);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (recomp_op_table && recomp_op_table[(opcode | op_32) & 0x1ff]) {
|
if (recomp_op_table && recomp_op_table[(opcode | op_32) & 0x1ff]) {
|
||||||
|
|||||||
@@ -1858,7 +1858,7 @@ codegen_generate_call(uint8_t opcode, OpFn op, uint32_t fetchdat, uint32_t new_p
|
|||||||
int pc_off = 0;
|
int pc_off = 0;
|
||||||
int test_modrm = 1;
|
int test_modrm = 1;
|
||||||
int c;
|
int c;
|
||||||
uint16_t op87 = 0x0000;
|
uint32_t op87 = 0x00000000;
|
||||||
|
|
||||||
op_ea_seg = &cpu_state.seg_ds;
|
op_ea_seg = &cpu_state.seg_ds;
|
||||||
op_ssegs = 0;
|
op_ssegs = 0;
|
||||||
@@ -2051,7 +2051,7 @@ generate_call:
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (op87 != 0x0000) {
|
if (op87 != 0x0000) {
|
||||||
STORE_IMM_ADDR_W((uintptr_t) &x87_op, op87);
|
STORE_IMM_ADDR_L((uintptr_t) &x87_op, op87);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (recomp_op_table && recomp_op_table[(opcode | op_32) & 0x1ff]) {
|
if (recomp_op_table && recomp_op_table[(opcode | op_32) & 0x1ff]) {
|
||||||
|
|||||||
@@ -113,7 +113,7 @@ uint8_t is_smint = 0;
|
|||||||
uint16_t io_port = 0x0000;
|
uint16_t io_port = 0x0000;
|
||||||
uint32_t io_val = 0x00000000;
|
uint32_t io_val = 0x00000000;
|
||||||
|
|
||||||
uint16_t x87_op = 0x0000;
|
uint32_t x87_op = 0x00000000;
|
||||||
|
|
||||||
int opcode_has_modrm[256] = {
|
int opcode_has_modrm[256] = {
|
||||||
1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, /*00*/
|
1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, /*00*/
|
||||||
|
|||||||
@@ -784,7 +784,7 @@ typedef struct {
|
|||||||
uint32_t smhr;
|
uint32_t smhr;
|
||||||
} cyrix_t;
|
} cyrix_t;
|
||||||
|
|
||||||
extern uint16_t x87_op;
|
extern uint32_t x87_op;
|
||||||
|
|
||||||
extern uint32_t addr64;
|
extern uint32_t addr64;
|
||||||
extern uint32_t addr64_2;
|
extern uint32_t addr64_2;
|
||||||
|
|||||||
Reference in New Issue
Block a user