We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f2da162 + 4aa938b commit c762de5Copy full SHA for c762de5
src/emulate.c
@@ -649,13 +649,15 @@ static bool emulate(riscv_t *rv, const block_t *block)
649
650
/* ECALL: Environment Call */
651
_(ecall, {
652
+ rv->compressed = false;
653
rv->io.on_ecall(rv); /* increment the cycles csr */
654
rv->csr_cycle++;
655
return true;
656
})
657
658
/* EBREAK: Environment Break */
659
_(ebreak, {
660
661
rv->io.on_ebreak(rv); /* increment the cycles csr */
662
663
@@ -1288,6 +1290,7 @@ static bool emulate(riscv_t *rv, const block_t *block)
1288
1290
1289
1291
/* C.EBREAK */
1292
_(cebreak, {
1293
+ rv->compressed = true;
1294
rv->io.on_ebreak(rv);
1295
/* increment the cycles csr */
1296
0 commit comments