Skip to content

cores: add SpaceMiT X60 and SiFive U74 ISA & codegen notes#29

Open
hmeiland wants to merge 1 commit into
opensolvers:mainfrom
hmeiland:add-core-isa-docs
Open

cores: add SpaceMiT X60 and SiFive U74 ISA & codegen notes#29
hmeiland wants to merge 1 commit into
opensolvers:mainfrom
hmeiland:add-core-isa-docs

Conversation

@hmeiland

Copy link
Copy Markdown
Contributor

Adds reference documentation for two RISC-V cores used across the benchmark suite.

What

  • cores/x60/ — SpaceMiT X60 (K1) ISA & codegen notes
    • rv64imafdcv + 30 extensions; RVV 1.0 ratified, VLEN=256 (not 0.7.1 draft)
    • Documents why GCC 14 riscv64 has no native detection (-mcpu=native, -march=native, -mcpu=spacemit-x60 all fail) and the exact EESSI -march string that matches the kernel-reported ISA
    • Boards: Orange Pi RV2, Banana Pi BPI-F3
  • cores/u74/ — SiFive U74 (JH7110) ISA & codegen notes
    • Scalar rv64gc, no vector unit; in-order dual-issue, single FP pipe
    • Tuning flags (-mtune=sifive-u74); asm microkernels stay pure rv64gc
    • Board: StarFive VisionFive 2

Why

Both cores are referenced repeatedly across the suite (EESSI builds, IME/RVV work, GROMACS/BLIS/HPL). These notes consolidate the ISA/codegen facts so per-benchmark docs can link to a single source of truth.

Evidence

Grounded in measured board evidence (kernel ISA strings, compiler probes) on Orange Pi RV2 and VisionFive 2. Cross-links to existing ime/ and onnx/ directories.

Two new files, docs-only, no code or build changes.

Add reference docs for two RISC-V cores used across the benchmark suite:

- cores/x60: SpaceMiT X60 (K1) — rv64imafdcv + 30 exts, RVV 1.0 ratified
  VLEN=256; documents why GCC 14 has no native detection and the exact
  EESSI -march that matches the kernel ISA.
- cores/u74: SiFive U74 (JH7110) — scalar rv64gc, no vector; in-order
  dual-issue single-FP-pipe tuning flags (-mtune=sifive-u74).

Grounded in measured board evidence (Orange Pi RV2, VisionFive 2).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant