• v0.7.0 e98680597d

    v0.7.0 Stable

    petrbalvin released this 2026-07-12 19:24:41 +00:00 | 273 commits to main since this release

    The formatter behaves like go fmt and canonicalises block separation.

    Added

    • gasm fmt now works like go fmt: with no arguments — or with a directory
      argument — it reformats every .s file below it in place and lists the
      changed files, skipping . and _ directories (.git, _refs, …).
      Explicit file arguments keep the -w / standard-output behaviour.

    Changed

    • format: canonical blank-line layout — a new block (a label, TEXT or
      GLOBL) is preceded by exactly one blank line, neither more nor less.
      Comments leading a block stay with it (the blank line goes before them),
      stacked labels share their block, the function's first label keeps hugging
      its TEXT, and runs of blank lines collapse to one. The output remains
      idempotent and round-trips through the parser. All four go-flac/go-lz4
      kernels were reformatted with this release and remain byte-identical when
      assembled.
    Downloads