Skip to content

Commit e991187

Browse files
committed
backend: fenceS should not writeback
1 parent 6b948e0 commit e991187

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/scala/radiance/muon/Backend.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class Backend(implicit p: Parameters) extends CoreModule()(p) {
162162
willWriteback := MemOp.isLoad(memOp) || MemOp.isAtomic(memOp)
163163
}
164164
val expanded = issued.bits.uop.inst.expand()
165-
when (expanded.b(IsNuInvoke) || expanded.b(IsFenceD) || expanded.b(IsFenceI)) {
165+
when (expanded.b(IsNuInvoke) || expanded.b(IsFenceD) || expanded.b(IsFenceI) || expanded.b(IsFenceS)) {
166166
willWriteback := false.B
167167
}
168168
}

0 commit comments

Comments
 (0)