Skip to content

Port the supported AMD64 assembler parser and encoder to Wave #357

Closed

Description

@LunaStev

Purpose

Move the existing AMD64 syntax, symbol/expression resolution, encoding and relocation intent into real Wave modules split by lexer/parser/registers/operands/encoding responsibilities. Preserve the current supported integer and scalar SSE surface.

Completion criteria

  • Existing byte, relocation, diagnostic and limits tests pass through the Wave implementation; retain rel/abs addressing, signed fields, REX/SIB and SSE coverage.
  • Use independent vectors/reference tooling for encodings and actually run static Linux leaf/cross-object fixtures.
  • Production encoding does not call the old Rust parser/encoder; the Rust version is an explicit migration oracle only.

Delivery

Batch 5/8 — Wave shared assembler utilities and AMD64 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