Adds a regression test based on klauspost/compress#186. This necessitated some related changes: * Mark "RET" as a terminal instruction * printer refactor to maintain compatibility with asmfmt * Tweaks to other regression tests to ensure they are run correctly in CI Updates #100 #65 #8
Examples
Simple functions:
Features:
- args: Loading function arguments.
- returns: Building return values.
- complex: Working with
complex{64,128}types. - data: Defining
DATAsections. - ext: Interacting with types from external packages.
- pragma: Apply compiler directives to generated functions.
"Real" examples:
- fnv1a: FNV-1a hash function.
- dot: Vector dot product.
- geohash: Integer geohash encoding.
- sha1: SHA-1 cryptographic hash.
- stadtx:
StadtXhash port from dgryski/go-stadtx.