Skip to content

Commit c48d818

Browse files
[RISCV] Add SiFiveP600Model SchedModel that is used by sifive-p670 (#84962)
This PR includes an initial scheduler model shows improvement on multiple workloads over NoSchedModel and SiFive7Model for sifive-p670. We plan on making significant changes to this model in the future so that it is more accurate. This patch would close #80612.
1 parent 27d7bb8 commit c48d818

File tree

3 files changed

+1024
-1
lines changed

3 files changed

+1024
-1
lines changed

llvm/lib/Target/RISCV/RISCV.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ include "RISCVMacroFusion.td"
4343
include "RISCVSchedRocket.td"
4444
include "RISCVSchedSiFive7.td"
4545
include "RISCVSchedSiFiveP400.td"
46+
include "RISCVSchedSiFiveP600.td"
4647
include "RISCVSchedSyntacoreSCR1.td"
4748
include "RISCVSchedXiangShanNanHu.td"
4849

llvm/lib/Target/RISCV/RISCVProcessors.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def SIFIVE_P450 : RISCVProcessorModel<"sifive-p450", SiFiveP400Model,
245245
TuneLUIADDIFusion,
246246
TuneAUIPCADDIFusion]>;
247247

248-
def SIFIVE_P670 : RISCVProcessorModel<"sifive-p670", NoSchedModel,
248+
def SIFIVE_P670 : RISCVProcessorModel<"sifive-p670", SiFiveP600Model,
249249
[Feature64Bit,
250250
FeatureStdExtZifencei,
251251
FeatureStdExtM,

0 commit comments

Comments
 (0)