Recompiler now handles instruction and cycle counting.

This commit is contained in:
SarahW 2018-07-06 17:51:22 +01:00
commit 774f4201ee
8 changed files with 99 additions and 7 deletions

13
src/codegen_accumulate.h Normal file
View file

@ -0,0 +1,13 @@
enum
{
ACCREG_ins = 0,
ACCREG_cycles = 1,
ACCREG_COUNT
};
struct ir_data_t;
void codegen_accumulate(int acc_reg, int delta);
void codegen_accumulate_flush(struct ir_data_t *ir);
void codegen_accumulate_reset();