Michael McLoughlin
cde7e9483b
pass,printer: display required ISA features ( #120 )
...
Fixes #119
2020-01-19 16:45:09 -08:00
Michael McLoughlin
bb615f61ce
all: formatting ( #93 )
...
Enforce stricter formatting and import grouping with gofumports.
2019-07-30 18:40:47 -07: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
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
0f63e0906d
ast: move "ast" types from root to ir sub-package
...
Closes #32
2019-01-06 14:21:10 -08:00
Michael McLoughlin
5c67547d67
doc: add package-level doc comments ( #9 )
2019-01-05 17:23:56 -08:00
Michael McLoughlin
9fbb71b6db
lint: enable golint
...
Enables golint and fixes function naming errors (operand checks
incorrectly cased).
Fixes #10
2018-12-31 11:20:59 -08:00
Michael McLoughlin
238771f86f
x86: remove unused error type
2018-12-28 15:47:38 -08:00
Michael McLoughlin
662ae52758
examples: adapt to new const types
2018-12-26 17:08:58 -08:00
Michael McLoughlin
96a5c5fe1e
ctors: include implicit inputs/outputs
2018-12-02 21:12:56 -08:00
Michael McLoughlin
82b31fa0da
wip: adding instruction inputs and outputs
2018-12-02 17:57:12 -08:00
Michael McLoughlin
43575d8b61
start at some basic passes
2018-12-02 13:51:03 -08:00
Michael McLoughlin
b65b6c02b8
return a basic instruction object
2018-11-27 22:38:53 -08:00
Michael McLoughlin
23289963d9
ctorstest: some more variants
2018-11-27 22:11:45 -08:00
Michael McLoughlin
4395adacc8
x86: rel types and generated tests
2018-11-27 22:08:11 -08:00
Michael McLoughlin
bed7e7e2c2
stub operand checks
2018-11-26 10:13:04 -08:00
Michael McLoughlin
767b625fe8
add generated code
2018-11-25 22:03:45 -08:00
Michael McLoughlin
af02be06ba
add skeleton for instruction constructors
2018-11-25 21:50:46 -08:00
Michael McLoughlin
b5c1cdcfa6
really basic instruction generator
2018-11-07 00:39:43 -05:00