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
|
|
@ -2,5 +2,5 @@
|
|||
|
||||
ir_data_t *codegen_ir_init();
|
||||
|
||||
void codegen_ir_set_unroll(int count, int start);
|
||||
void codegen_ir_set_unroll(int count, int start, int first_instruction);
|
||||
void codegen_ir_compile(ir_data_t *ir, codeblock_t *block);
|
||||
|
|
|
|||
Loading…
Reference in a new issue