• v0.25.0 Stable

    petrbalvin released this 2026-08-02 21:11:30 +00:00 | 254 commits to main since this release

    Universal ground-truth verification: gasm verify --ground-truth assembles
    any .s file with both gasm and go tool asm, then compares the machine
    code byte-for-byte per function (relocation sites masked). No hand-written
    reference needed — the Go toolchain IS the oracle.

    Added

    • verify: GroundTruth — shells out to go tool asm, parses the GOOBJ
      output (minimal reader: block offsets, nonpkg symbol table, data index)
      and returns per-function code bytes.
    • gasm verify --ground-truth: compares gasm's output against the Go
      assembler's, reporting MATCH/MISMATCH per function with the first
      differing byte. Relocation disp32 fields (static-symbol references the
      linker fills) are masked before comparison.
    • Verified: go-lz4 AVX2 2/2, go-flac AVX2 17/17 functions byte-identical.
    Downloads