Jakob Stoklund Olesen
7f8479e097
Parse insertlane and extractlane instruction formats.
...
These instruction formats take immediate lane index operands. We store these as
u8 fields and require them to be in decimal format in the source. No hexadecimal
lane indexes are supported.
2016-07-06 13:36:15 -07:00
Jakob Stoklund Olesen
f18e5fe0fa
Parse select instructions.
2016-07-05 16:51:26 -07:00
Jakob Stoklund Olesen
473e708dce
Parse branch and jump instructions.
...
These instruction formats take EBB references with lists of argument values. For
EBBs with no arguments, the argument value list may be omitted.
2016-07-05 15:23:42 -07:00
Jakob Stoklund Olesen
cbf78c294b
Print a type suffix on some polymorphic instructions.
2016-07-05 13:45:15 -07:00
Jakob Stoklund Olesen
7b03ecfe04
Add very basic test framework for parser tests.
...
Start with a shell script that runs .cton files through 'cton-util cat' and
compares the output to a reference. This can get fancy later.
2016-07-05 12:51:02 -07:00