Skip to content

Commit d1142a0

Browse files
Bhe6669Khao7342huxuan0307Ziyue-ZhangMrLinWang
committed
[RISCV] Add scheduling model for XiangShan-KunMingHu
The "XiangShan" is a high-performance open-source RISC-V processor project, and The "KunMingHu" architecture is its third generation. Official documentation can be found at:[documentation](https://xiangshan-doc.readthedocs.io/zh-cn/latest/). This Pull Request introduces the foundational scheduling model of the KunMingHu architecture. It encompasses the basic configurations and instruction latencies of the KunMingHu core. Other components will be submitted in subsequent patches. Co-authored-by: Chen Jian<[email protected]> Lv Fang<[email protected]> Co-Authored-By: Khao7342 <[email protected]> Co-Authored-By: huxuan0307 <[email protected]> Co-Authored-By: Ziyue-Zhang <[email protected]> Co-Authored-By: Lin Wang <[email protected]> Co-Authored-By: ict-ql <[email protected]> Co-Authored-By: bdne159 <[email protected]> Co-Authored-By: Zhuke-bosc <[email protected]> Co-Authored-By: 雷电霸王龙 <[email protected]>
1 parent 96b67d0 commit d1142a0

File tree

6 files changed

+4306
-1
lines changed

6 files changed

+4306
-1
lines changed

llvm/lib/Target/RISCV/RISCV.td

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ include "RISCVSchedSiFiveP400.td"
5252
include "RISCVSchedSiFiveP600.td"
5353
include "RISCVSchedSyntacoreSCR1.td"
5454
include "RISCVSchedXiangShanNanHu.td"
55+
include "RISCVSchedXiangShanKunMingHu.td"
5556

5657
//===----------------------------------------------------------------------===//
5758
// RISC-V processors supported.

llvm/lib/Target/RISCV/RISCVProcessors.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def XIANGSHAN_NANHU : RISCVProcessorModel<"xiangshan-nanhu",
380380
TuneShiftedZExtWFusion]>;
381381

382382
def XIANGSHAN_KUNMINGHU : RISCVProcessorModel<"xiangshan-kunminghu",
383-
NoSchedModel,
383+
XiangShanKunMingHuModel,
384384
[Feature64Bit,
385385
FeatureStdExtI,
386386
FeatureStdExtZicsr,

0 commit comments

Comments
 (0)