Recompiler now handles instruction and cycle counting.
This commit is contained in:
parent
93ec6b0692
commit
774f4201ee
8 changed files with 99 additions and 7 deletions
13
src/codegen_accumulate.h
Normal file
13
src/codegen_accumulate.h
Normal 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();
|
||||
Loading…
Reference in a new issue