XiangShan
Open-source high-performance RISC-V processor
A new way for AI to search for data
7,419GitHub stars
What XERJ indexed
Snapshot
Whole repository
Only src/main/scala/xiangshan/cache/mmu, src/main/scala/xiangshan/mem at commit 527d4c3f80 (2026-10-09).
Licence
The repository
MulanPSL-2.0
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
MulanPSL-2.0, with credit
The author agreed by email on 2026-10-12. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
risc-vmicroarchitecturechisel
Example questions
- How does XiangShan implement risc-v?
- Where does XiangShan handle “add ptehelper support”?
- What does src/main do in XiangShan?
The prompt
Paste it into your AI agent. It clones OpenXiangShan/XiangShan at the pinned commit and indexes it on your machine.
Search the GitHub repository OpenXiangShan/XiangShan with XERJ (https://hub.xerj.org/corpus/openxiangshan--xiangshan). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/OpenXiangShan/XiangShan XiangShan && git -C XiangShan checkout 527d4c3f80f8478f8dafc098f0855acfb59823c8 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./XiangShan --url http://127.0.0.1:9200 --prefix xiangshan --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: MulanPSL-2.0. Keep the copyright notice and credit the authors.
Related
Huakai FuAPI design and specification corporagatlingvladimirmitnovitskiy/MRVE32ataberk320/autumnos-mobilestnolting/neorv32
Selected work and consent: the XERJ registry.
