Added basic loop unrolling. Blocks that end in a JMP, LOOP or conditional branch to a previous instruction in the block will be unrolled up to 10 times.
This commit is contained in:
parent
b35cf7de09
commit
7e099c277e
9 changed files with 594 additions and 148 deletions
|
|
@ -2,4 +2,5 @@
|
|||
|
||||
ir_data_t *codegen_ir_init();
|
||||
|
||||
void codegen_ir_set_unroll(int count, int start);
|
||||
void codegen_ir_compile(ir_data_t *ir, codeblock_t *block);
|
||||
|
|
|
|||
Loading…
Reference in a new issue