apisum

command
v0.0.0-...-d9ea351 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2026 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

apisum parses and aggregates Go SIMD vector and mask type signatures from an internal Go SIMD architecture package (such as archsimd).

The program operates in four main phases:

  1. AST Parsing: Reads exportable functions and methods into MethodMeta metadata structs.
  2. Classification: Categorizes rows into logical groupings (e.g., Mask, Crypto, Numeric conversion).
  3. Normalization: Discovers equivalence classes across methods by canonicalizing identifiers, types, and lane counts (accounting for 128-bit hardware limits). AST nodes are safely cloned during this process to guarantee non-destructive iteration.
  4. Aggregation & Output: Sorts deduplicated rows and renders formatted Markdown implementation tables complete with hardware-caveat footnotes.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL