Don't unroll a loop if x87 top of stack is different at the start and end of the loop. Fixes Battlezone.
This commit is contained in:
parent
2b6b14f175
commit
83f2869123
3 changed files with 13 additions and 3 deletions
|
|
@ -404,7 +404,7 @@ extern int codegen_in_recompile;
|
|||
|
||||
void codegen_generate_reset();
|
||||
|
||||
int codegen_get_instruction_uop(codeblock_t *block, uint32_t pc, int *first_instruction);
|
||||
int codegen_get_instruction_uop(codeblock_t *block, uint32_t pc, int *first_instruction, int *TOP);
|
||||
void codegen_set_loop_start(struct ir_data_t *ir, int first_instruction);
|
||||
|
||||
#ifdef DEBUG_EXTRA
|
||||
|
|
|
|||
Loading…
Reference in a new issue