wavefnd / wavefnd/Wave

Model CPU profiles separately from base architectures in the case manifest

Open
#458 0 comments 0 reactions 0 assignees View on GitHub
cross-platform enhancement refactor technical debt
Dominant language
Rust
Stars
53
Forks
16
Avg merge
4h 22m
Merged PRs (30d)
46

Description

## Problem

PR #457 reserves `rhea`, `shakti`, `xiangshan`, and `t-head` in the case manifest's `arch` column. Those names identify processors or implementation profiles, while their base ISAs are AArch64 or RISC-V. Treating both concepts as one dimension will duplicate suites and make target selection ambiguous as Wave moves toward Whale (#93).

## Scope

- Introduce a backend-neutral base architecture plus optional CPU/profile dimension in `tests/cases/cases.toml`.
- Keep OS, support, and CI switches readable at the top of the manifest.
- Derive `shared`, base-architecture, profile, and OS-specific suites without hand-written case lists.
- Migrate the roadmap entries added by #457 without advertising unsupported targets.
- Document how profile extensions and baseline fallback interact.

## Completion criteria

- Rhea resolves to AArch64 and SHAKTI/XiangShan/T-Head resolve to RISC-V without pretending to be new base ISAs.
- The manifest rejects contradictory or unknown base/profile combinations.
- LLVM and future Whale runners can consume the same resolved target identity.
- Existing enabled matrices remain unchanged.

Contributor guide

Open the contributing guide

Research direction

Start with tests/cases/cases.toml and review the roadmap entries introduced by PR #457. Trace how shared, base-architecture, profile, OS, support, and CI switches are currently represented, then define the resolved target identity and validation rules. Done means the listed profiles map to AArch64 or RISC-V, contradictory combinations are rejected, and existing enabled matrices remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.