Michael McLoughlin
9c70781236
all: go 1.17 ( #197 )
...
Bump CI Go versions to 1.16 and 1.17.
Update build tags with `go:build` equivalents.
Upgrade asmfmt tool for new `go:build` support.
Updates #183
2021-10-29 01:18:34 -07:00
Michael McLoughlin
8f3c4ea0bf
examples: cpu feature checks ( #171 )
...
Add necessary feature checks to the dot and geohash examples to prevent illegal instruction errors.
Fixes #170 #153
2021-04-06 22:24:58 -07:00
Michael McLoughlin
cde7e9483b
pass,printer: display required ISA features ( #120 )
...
Fixes #119
2020-01-19 16:45:09 -08:00
Michael McLoughlin
d43efabdbe
inst,ir: cancelling inputs ( #92 )
...
Adds support for a `CancellingInputs` instruction flag, to indicate cases like `XORQ R10, R10` where the instruction actually does not depend on the value of `R10` at all.
Closes #89
2019-07-28 17:58:49 -07:00
Michael McLoughlin
475a241446
operand: include '+0' in named symbol references
...
Intended to address an asmdecl error.
[amd64] Butterfly: use of unnamed argument 0(FP); offset 0 is x0+0(FP)
Updates #24
2019-01-13 12:00:57 -08:00
Michael McLoughlin
f77a2e3b9e
printer: use tabwriter to align instructions ( #8 )
2019-01-10 21:21:41 -08:00
Michael McLoughlin
304c7425d2
build: add attributes argument to TEXT
...
Brings the TEXT() function signature closer to how the directive works
in assembly.
Also update almost all examples to use NOSPLIT.
Closes #11
2019-01-06 20:04:51 -08:00
Michael McLoughlin
602bb5197c
build: unify Label function signatures
...
The Context.Label method and LABEL global function did not agree. Also
breaks the convention I'd like to set that capitalized functions must
agree with existing Go assembly syntax.
To help avoid a conflict with `avo.Label`, attributes were moved to
their own package.
Fixes #35
2019-01-05 18:18:49 -08:00
Michael McLoughlin
5c67547d67
doc: add package-level doc comments ( #9 )
2019-01-05 17:23:56 -08:00
Michael McLoughlin
672b77a441
reg,build: remove "v" from virtual register ctors
...
Fixes #30
2019-01-04 18:23:44 -08:00
Michael McLoughlin
c62e40f8d2
pass: add textflags.h if required
...
Closes #12
2018-12-31 00:23:27 -08:00
Michael McLoughlin
e364d6398e
ast,build: add Attributes fields to Function and Global
...
Updates #2
2018-12-30 23:35:54 -08:00
Michael McLoughlin
edc4d3f00c
examples/dot: initial version
...
Implements dot product in avo.
Closes #4
2018-12-30 18:46:36 -08:00