Skip to content

Port the existing RV64I assembler subset to role-separated Wave modules #359

Closed

Description

@LunaStev

Purpose

Move the current RV64I instructions/pseudos, register aliases, operand checking and relocation emission into separate Wave modules. Preserve the actual current soft-float/no-RVC contract; #219 separately owns broader target-profile/validation requirements.

Completion criteria

  • Match existing accepted/rejected forms, raw upper immediates, branch/JAL ranges, FENCE sets, symbol addends and ELF flags.
  • Independent RV64I vectors and object inspection verify results; no AMD64 relocation namespace reuse or implicit M/A/F/D/RVC support.
  • Actual execution is reported separately from cross-object generation; production encoding runs in Wave.

Delivery

Batch 6/8 — Wave AArch64, RV64I, LoongArch64 and object bridge in #335. Complete preceding batches first. Exactly one DCO commit per batch and one PR for all eight batches.

Scope correction from the maintainer: targets are source contributions like kernel architectures/drivers. Adding a target may update explicit core definitions, dispatch and Meson lists. Do not introduce an SDK, generic plugin system, automatic module registration or an out-of-tree no-core-change guarantee.

Wave-owned algorithms must execute in Wave; Rust may retain file/OS/CLI/object/link bridges and explicit test/reference implementations. Do not modify the separately owned Wave checkout or take over #100. Preserve existing supported behavior and limits.

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added
    enhancement
    assembler
    codegen
    on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

assemblercodegenenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions