Michael McLoughlin
34ac353c14
all: remove +build tags ( #377 )
...
Commit 759be3dad9 bumped our Go
requirement to 1.18 which allows us to drop support for old-style
`+build` tags. This change runs `go fix ./...` to remove them, and
updates some remaining code generators that produced `+build` lines.
2023-03-05 20:30:01 -08:00
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
1735441939
all: apply gofumpt ( #79 )
...
Apply @mvdan's opinionated gofumpt formatter across the codebase.
2019-04-13 22:53:13 -05: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
4f73a6ea72
doc: forgot to regenerate on last commit
2019-01-06 20:16:26 -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
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
4550badf58
doc: scripts to run embedmd on markdown files
...
This will help keep READMEs in sync with code.
Also adds a README for the add example.
Updates #14
2018-12-31 20:25:29 -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
2ffc7d7fd5
examples: add most docstrings
2018-12-27 23:09:44 -08:00
Michael McLoughlin
5dea46407c
printer: shorten text size when argsize is zero
2018-12-27 13:48:31 -08:00
Michael McLoughlin
ca5c7e7454
printer: add generated code warnings
2018-12-18 22:57:26 -08:00
Michael McLoughlin
213d65e481
printer: cleaner output
2018-12-18 21:05:05 -08:00
Michael McLoughlin
b89d211ff4
examples/complex: and bugfixes
2018-12-12 00:02:22 -08:00
Michael McLoughlin
c882e52510
printing: commit some refactors (probably broken)
2018-12-11 00:18:22 -08:00
Michael McLoughlin
20525e1437
get the basic add example working
2018-12-08 22:02:02 -08:00
Michael McLoughlin
5431f2edef
support signatures and param load/stores
2018-12-08 21:16:03 -08:00
Michael McLoughlin
9b9f5b7e0c
first pass at a "builder" interface
2018-11-30 20:43:31 -08:00