Michael McLoughlin
2d7a9ddb6c
internal/load: rerun code generation
...
Updates #50
2019-01-20 22:43:14 -08:00
Michael McLoughlin
220969f8c8
internal/load: support additional MOVQ forms
...
The Go assembler merges MOVD/MOVQ instruction forms. The logic in the
avo instruction loader was discarding the MOVD forms. This diff should
merge them correctly.
Updates #50
2019-01-20 22:34:52 -08:00
Michael McLoughlin
5dc9498dac
doc: go report badge
2019-01-13 12:06:47 -08:00
Michael McLoughlin
54ee3a8b77
lint: run asmdecl
...
Updates #24
2019-01-13 12:02:06 -08: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
16c602d345
tests/attrtest: move decl to non-test file
...
Solves the asmdecl error:
[amd64] AttrTest: function AttrTest missing Go declaration
Updates #24
2019-01-13 11:53:04 -08:00
Michael McLoughlin
a23fe8ee57
internal/cmd/asmdecl: standalone asmdecl checker
...
Updates #24
2019-01-13 11:40:47 -08:00
Michael McLoughlin
cdf63e263d
lint: spelling mistake
2019-01-13 11:09:54 -08:00
Michael McLoughlin
dba3cf38db
lint: link to gocritic issue ( #49 )
2019-01-13 11:09:37 -08:00
Michael McLoughlin
4aa8656eb0
lint: fix issues in examples ( #49 )
2019-01-13 10:12:52 -08:00
Michael McLoughlin
943d5f0ced
examples/sum: attempt to avoid asmfmt mismatch
...
Updates #41
Updates #8
2019-01-11 11:06:10 -08:00
Michael McLoughlin
3ca82be16c
examples/sum: use Comment ( #41 )
2019-01-11 10:57:38 -08:00
Michael McLoughlin
85432688f1
examples/sha1: forgot to regenerate README
2019-01-11 10:54:27 -08:00
Michael McLoughlin
d0357fa6f9
examples/sha1: use comments ( #41 )
2019-01-11 10:52:09 -08:00
Michael McLoughlin
94033059eb
build: Commentf function
...
Convenience for adding a comment generated with fmt.Sprintf.
Updates #41
2019-01-11 10:51:36 -08:00
Michael McLoughlin
284ee13ada
build: support comments in functions ( #41 )
2019-01-11 10:33:41 -08:00
Michael McLoughlin
27cea3be8b
tests/textflag: fix formatting
2019-01-10 21:56:33 -08:00
Michael McLoughlin
999da5143a
script: fix asmtfmt install command ( #8 )
2019-01-10 21:48:26 -08:00
Michael McLoughlin
7a22924b14
lint: ensure conformity with asmfmt
...
Run asmfmt suring linting and confirm git repository isn't dirty.
This introduces a developer tools dependency on asmfmt, but not a
runtime dependency.
Updates #8
2019-01-10 21:31:04 -08:00
Michael McLoughlin
f77a2e3b9e
printer: use tabwriter to align instructions ( #8 )
2019-01-10 21:21:41 -08:00
Michael McLoughlin
0e253b3753
examples/stadtx: delete PeachPy comments
...
Fixes #16
2019-01-09 22:53:41 -08:00
Michael McLoughlin
56c962b9aa
lint: switch to linter blacklist
2019-01-09 22:31:14 -08:00
Michael McLoughlin
2caf9a2c35
ci: fix ref to unit.coverprofile
2019-01-09 21:58:14 -08:00
Michael McLoughlin
61e2c9dd38
ci: flag integration tests and unit tests
2019-01-09 21:51:20 -08:00
Michael McLoughlin
b1f036a21f
ci: attempt to enable codecov.io ( #28 )
2019-01-08 18:50:00 -08:00
Oleg Kovalov
90d3f9fe25
ci: use latest go ( #45 )
2019-01-08 15:27:22 -08:00
Michael McLoughlin
7e94f6fb5c
doc: switch to travis badge
...
#26
2019-01-08 13:19:52 -08:00
Michael McLoughlin
80d89c579d
ci: empty commit to trigger travis ( #26 )
2019-01-08 12:57:15 -08:00
Michael McLoughlin
34d153690a
doc: extra credit
...
@dgryski
#13
2019-01-08 08:54:56 -08:00
Michael McLoughlin
ac9624a6b5
doc: link to porting issue
...
#13
2019-01-08 00:19:46 -08:00
Michael McLoughlin
de9c629bcb
operand: remove TODO about deleting Imm()
...
Starting to think this function could have its place.
Updates #18
2019-01-07 22:32:58 -08:00
Michael McLoughlin
0a3dff4d5a
doc: link to examples instead ( #13 )
2019-01-07 22:21:36 -08:00
Michael McLoughlin
f41ad5fb77
doc: tweak bullet point
...
#13
2019-01-06 22:39:07 -08:00
Michael McLoughlin
e18d405027
doc: README tweaks
...
Thanks to @jsgoller1
#13
2019-01-06 22:37:27 -08:00
Michael McLoughlin
775226218c
internal/gen: docstrings for instruction builders
...
Piggybacks off the docstrings for constructors in x64 package.
Closes #36
2019-01-06 21:12:15 -08:00
Michael McLoughlin
400288e4b6
build: use const for attribute values
2019-01-06 21:03:59 -08:00
Michael McLoughlin
64026d252c
ci: do not use go modules
...
Attempt to fix a stream of CI failures that started on the addition of
Go modules.
I wonder if we are falling foul of this warning in the wiki
https://github.com/golang/go/wiki/Modules .
"The module cache in Go 1.11 can sometimes cause various errors,
primarily if there were previously network issues or multiple go
commands executing in parallel (see #26794 , which is addressed for Go
1.12). As a troubleshooting step, you can copy $GOPATH/pkg/mod to a
backup directory (in case further investigation is warranted later), run
go clean -modcache, and then see whether the original problem persists."
Updates #21
2019-01-06 20:35:58 -08:00
Michael McLoughlin
e7a6e2cb2a
script: use -x in coverage script
...
Hope to get some insight into why CI builds are failing.
2019-01-06 20:28:46 -08:00
Michael McLoughlin
ea3d101f08
examples/sha1: use loops where possible
2019-01-06 20:26:04 -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
76db5bb03f
ci: set GO111MODULE=on
2019-01-06 19:15:27 -08:00
Michael McLoughlin
80a1adc4bb
meta: initialize go modules
...
Updates #21
2019-01-06 18:58:30 -08:00
Michael McLoughlin
ff7d8afefe
doc,examples/sum: improve doc on sum example
...
Updates #13
2019-01-06 18:09:37 -08:00
Michael McLoughlin
efb45b6500
doc: link to sha1 directory
...
Updates #13
2019-01-06 17:34:07 -08:00
Michael McLoughlin
294a7ac89b
doc: add sha1 example to README
2019-01-06 17:31:45 -08:00
Michael McLoughlin
022d24d186
doc: suggest pinning a version
...
Updates #9
2019-01-06 15:59:23 -08:00
Michael McLoughlin
49b1691ac0
doc: description of examples/ and tests/
2019-01-06 14:25:05 -08:00
Michael McLoughlin
0f63e0906d
ast: move "ast" types from root to ir sub-package
...
Closes #32
2019-01-06 14:21:10 -08:00
Michael McLoughlin
4a920c22b5
build: add missing doc comment ( #34 )
2019-01-06 13:53:57 -08:00