Skip to content

Commit 40cfb5b

Browse files
[RISCV] Add SiFiveP600Model SchedModel that is used by sifive-p670
This changeset includes an initial scheduler model shows improvement on spec2017 over NoSchedModel for sifive-p670. We plan on making signfificant changes to this model in the future.
1 parent 2a3f27c commit 40cfb5b

File tree

3 files changed

+1031
-1
lines changed

3 files changed

+1031
-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)