Repository navigation
Closed
Labels
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.needs testingIssues that require additional testing or verification.
Description
Problem
PR #474 implements LoongArch64 LP64S, LP64F, and LP64D object/C-ABI classification and validates all three modes against LLVM/Clang IR and ELF flags. Runtime C interoperability under QEMU currently exercises LP64D only because the pinned official Loongson glibc toolchain supplies an LP64D userspace.
LP64S hosted linking is intentionally supported when a matching sysroot is available, so it should eventually have an independent executable ABI fixture instead of relying only on IR shape and pre-link validation. LP64F remains object-only because glibc does not provide that hosted ABI.
Scope
- Identify and pin an authoritative LP64S compiler/sysroot, or build a freestanding LP64S C/Wave fixture that does not claim glibc coverage.
- Execute scalar, floating, mixed aggregate, large aggregate, variadic, and exported-call fixtures under QEMU.
- Verify LP64S loader/CRT selection separately if an authoritative hosted userspace is available.
- Keep LP64F explicitly object-only unless its runtime contract becomes standardized.
- Reuse the backend-neutral fixtures introduced by feat: expand native 64-bit architecture support #474 where possible.
Acceptance criteria
- Wave-to-C and C-to-Wave LP64S calls execute under an independent toolchain/runtime contract.
- The test proves floats use integer argument registers under LP64S.
- CI does not advertise hosted LP64S runtime coverage unless a matching sysroot is actually present.
- LP64D coverage remains unchanged and LP64F remains clearly scoped.
Metadata
Metadata
Assignees
Labels
cross-platformIssues related to making Wave work seamlessly across multiple operating systems.enhancementA request for a new feature or improvement.needs testingIssues that require additional testing or verification.
Activity