Fixed cycles accumulation in update_tsc() when cache is enabled (and the actual recompiler kicks in), and also fixed a warning in the 82091AA code.
This commit is contained in:
@@ -20,6 +20,10 @@ static struct
|
||||
void codegen_accumulate(int acc_reg, int delta)
|
||||
{
|
||||
acc_regs[acc_reg].count += delta;
|
||||
|
||||
if (delta != 0) {
|
||||
uop_ADD_IMM(ir, IREG_acycs, IREG_acycs, delta);
|
||||
}
|
||||
}
|
||||
|
||||
void codegen_accumulate_flush(ir_data_t *ir)
|
||||
|
||||
Reference in New Issue
Block a user