When unrolling a loop, set op_32, ea_seg and ssegs to the correct values at the start of the loop. Fixes mode setting on Bahamas 64 and most likely some other bugs.
This commit is contained in:
parent
7a68bca85f
commit
a0ab14f56f
5 changed files with 63 additions and 16 deletions
|
|
@ -404,6 +404,8 @@ extern int codegen_in_recompile;
|
|||
|
||||
void codegen_generate_reset();
|
||||
|
||||
int codegen_get_instruction_uop(codeblock_t *block, uint32_t pc, int *first_instruction);
|
||||
void codegen_set_loop_start(struct ir_data_t *ir, int first_instruction);
|
||||
|
||||
#ifdef DEBUG_EXTRA
|
||||
extern uint32_t instr_counts[256*256];
|
||||
|
|
|
|||
Loading…
Reference in a new issue