Skip to content

Commit

Permalink
rv64v: fix immType for vector instructions because use i2v module
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziyue-Zhang authored and Tang-Haojin committed Jun 25, 2024
1 parent 78d7c65 commit c2ce03f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main/scala/xiangshan/backend/fu/FuConfig.scala
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ object FuConfig {
latency = CertainLatency(0),
destDataBits = 128,
srcDataBits = Some(64),
immType = Set(SelImm.IMM_OPIVIU, SelImm.IMM_OPIVIS),
immType = Set(SelImm.IMM_OPIVIU, SelImm.IMM_OPIVIS, SelImm.IMM_VRORVI),
)

val F2vCfg: FuConfig = FuConfig (
Expand Down Expand Up @@ -528,7 +528,6 @@ object FuConfig {
maskWakeUp = true,
destDataBits = 128,
exceptionOut = Seq(illegalInstr),
immType = Set(SelImm.IMM_OPIVIU, SelImm.IMM_OPIVIS, SelImm.IMM_VRORVI),
)

val VimacCfg = FuConfig (
Expand Down Expand Up @@ -582,7 +581,6 @@ object FuConfig {
maskWakeUp = true,
destDataBits = 128,
exceptionOut = Seq(illegalInstr),
immType = Set(SelImm.IMM_OPIVIU, SelImm.IMM_OPIVIS),
)

val VipuCfg: FuConfig = FuConfig (
Expand Down

0 comments on commit c2ce03f

Please sign in to comment.