TSC update cycle fixes.

This commit is contained in:
OBattler
2020-07-12 21:05:46 +02:00
parent bef8f8093a
commit 38828bdc3b
4 changed files with 5 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ void codegen_accumulate(ir_data_t *ir, int acc_reg, int delta)
acc_regs[acc_reg].count += delta;
if (delta != 0) {
uop_ADD_IMM(ir, IREG_acycs, IREG_acycs, delta);
uop_ADD_IMM(ir, IREG_acycs, IREG_acycs, -delta);
}
}