Skip to content
Unverified Commit 867ece18 authored by Yingwei Zheng's avatar Yingwei Zheng Committed by GitHub
Browse files

[RISCV] Add processor definition for XiangShan-NanHu (#70294)

This PR adds the processor definition for XiangShan-NanHu, an
open-source high-performance RISC-V processor.

According to the official
[documentation](https://xiangshan-doc.readthedocs.io/zh-cn/latest/arch/),
NanHu core supports
`RV64IMAFDC_zba_zbb_zbc_zbs_zbkb_zbkc_zbkx_zknd_zkne_zknh_zksed_zksh_svinval`.
I found that NanHu also supports `zicbom` and `zicboz`. You can find
them in the [source
code](https://github.com/OpenXiangShan/XiangShan/blob/5931ace35325a644a12f8ea27830a2de7489e7e7/src/main/scala/xiangshan/backend/decode/DecodeUnit.scala#L426-L436

).
Features supported by NanHu have been confirmed by @poemonsense.

---------

Co-authored-by: default avatarSForeKeeper <zkliu6@gmail.com>
parent 2d739f13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment