Skip to content

Commit

Permalink
area(VSplit): uop.imm is constant zero when uop is vector, so should …
Browse files Browse the repository at this point in the history
…optimize
  • Loading branch information
jin120811 committed Oct 29, 2024
1 parent 37f3aa9 commit f1b784f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/xiangshan/mem/vector/VSplit.scala
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ class VSplitPipeline(isVStore: Boolean = false)(implicit p: Parameters) extends
s0_out := DontCare
s0_out match {case x =>
x.uop := io.in.bits.uop
x.uop.imm := 0.U
x.uop.vpu.vl := evl
x.uop.uopIdx := uopIdx
x.uop.numUops := numUops
Expand Down Expand Up @@ -368,6 +369,7 @@ abstract class VSplitBuffer(isVStore: Boolean = false)(implicit p: Parameters) e
// data
io.out.bits match { case x =>
x.uop := issueUop
x.uop.imm := 0.U
x.uop.exceptionVec := ExceptionNO.selectByFu(issueUop.exceptionVec, fuCfg)
x.vaddr := Mux(!issuePreIsSplit, usSplitVaddr, vaddr)
x.basevaddr := issueBaseAddr
Expand Down

0 comments on commit f1b784f

Please sign in to comment.