Skip to content

Commit

Permalink
fix(interrupt): Vset should not respond to interrupts (#3991)
Browse files Browse the repository at this point in the history
  • Loading branch information
Anzooooo authored Dec 6, 2024
1 parent a60d667 commit 493f6e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/xiangshan/backend/rob/Rob.scala
Original file line number Diff line number Diff line change
Expand Up @@ -1110,7 +1110,7 @@ class RobImp(override val wrapper: Rob)(implicit p: Parameters, params: BackendP
// However, we cannot determine whether a load/store instruction is MMIO.
// Thus, we don't allow load/store instructions to trigger an interrupt.
// TODO: support non-MMIO load-store instructions to trigger interrupts
val allow_interrupts = !CommitType.isLoadStore(io.enq.req(i).bits.commitType) && !FuType.isFence(io.enq.req(i).bits.fuType) && !FuType.isCsr(io.enq.req(i).bits.fuType)
val allow_interrupts = !CommitType.isLoadStore(io.enq.req(i).bits.commitType) && !FuType.isFence(io.enq.req(i).bits.fuType) && !FuType.isCsr(io.enq.req(i).bits.fuType) && !FuType.isVset(io.enq.req(i).bits.fuType)
robEntries(allocatePtrVec(i).value).interrupt_safe := allow_interrupts
}
}
Expand Down

0 comments on commit 493f6e1

Please sign in to comment.