Skip to content

Add a LoongArch64 Linux target contract for Wave and Whale #467

Closed

Description

@LunaStev

Goal

Implement the linux/loong64 roadmap cell introduced by #457 as a real backend-neutral Wave target consumable by LLVM during transition and Whale afterward (#93).

Scope

  • Define the exact LoongArch64 Linux triple, LP64 data model, ABI, relocations, and inline-assembly register contract.
  • Add object generation before hosted linking.
  • Define sysroot/linker/CRT discovery and explicit overrides.
  • Validate C interop and ELF flags against an independent toolchain.
  • Add QEMU or native execution when a bounded CI environment is available.

Completion criteria

  • LoongArch64 objects have correct machine, class, flags, and relocations.
  • Scalar, pointer, aggregate, and variadic ABI fixtures pass.
  • The case cell is activated only at the verified support level.
  • Target fixtures are reusable by Whale.

Related: #93, #368, #457

Activity

  1. added
    enhancement
    help wanted
    feature request
    cross-platform
    on Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cross-platformenhancementfeature requesthelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions