Skip to content

Commit

Permalink
rv64mi: fix bug in cbo_inval
Browse files Browse the repository at this point in the history
  • Loading branch information
happy-lx committed Aug 13, 2024
1 parent e95ed63 commit dc96ba0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions isa/rv64mi/cbo_inval.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ RVTEST_CODE_BEGIN
ld x4, 0(x1)
csrr x5, mcycle
# check potential result
beq x4, x0, 1b
beq x4, x2, 1b
beq x4, x0, 2f
beq x4, x2, 2f
j die
1:
2:
# check load latency, load after inval should be longer than 20 cycles?
sub x5, x5, x3
li x6, 20
Expand Down

0 comments on commit dc96ba0

Please sign in to comment.