Jakob Stoklund Olesen
c3233fb332
Move instruction definitions into meta.
Use the meta language to define instructions, just insert 'autoinst' references
in langref.
9 years ago
Jakob Olesen
20183554a4
Add Instruction and Operand classes to the meta language.
9 years ago
Jakob Olesen
a76a0da826
Add Instruction and Operand classes to the meta language.
9 years ago
Jakob Stoklund Olesen
de12bc0f1a
Implement Imm64 in an 'immediates.rs' module.
Format larger immediates as hexadecimal with a multiple of 4 digits and '_'
group separators.
9 years ago
Jakob Stoklund Olesen
38d0f626a7
Implement Imm64 in an 'immediates.rs' module.
Format larger immediates as hexadecimal with a multiple of 4 digits and '_'
group separators.
9 years ago
Jakob Stoklund Olesen
05de34b1a3
Add ImmediateType for declaring immediate operands.
9 years ago
Jakob Stoklund Olesen
10903503c4
Add ImmediateType for declaring immediate operands.
9 years ago
Jakob Olesen
3d67d4d6b9
Add type variables.
9 years ago
Jakob Olesen
29481a5851
Add type variables.
9 years ago
Jakob Stoklund Olesen
d9ba9480c9
Make the types module public, add documentation comments.
9 years ago
Jakob Stoklund Olesen
4ba29e594f
Make the types module public, add documentation comments.
9 years ago
Jakob Stoklund Olesen
9d1fbfd649
Implement type representation in Rust.
Start the Cretonne library as a Rust crate.
9 years ago
Jakob Stoklund Olesen
82e05bcbc9
Implement type representation in Rust.
Start the Cretonne library as a Rust crate.
9 years ago
Jakob Olesen
a37005a1d4
Enable inheritance diagrams.
9 years ago
Jakob Olesen
29cc36c8d9
Enable inheritance diagrams.
9 years ago
Jakob Olesen
19b4facbe0
Add a TypeDocumenter for Cretonne types.
Use the autodoc Sphinx module to add a .. autoctontype:: directive which
generates documentation for one of the types in the cretonne.types module.
9 years ago
Jakob Olesen
06f9b65e12
Add a TypeDocumenter for Cretonne types.
Use the autodoc Sphinx module to add a .. autoctontype:: directive which
generates documentation for one of the types in the cretonne.types module.
9 years ago
Jakob Olesen
c459c11a5a
Begin defining the meta language.
The Cretonne meta language is used to describe Cretonne instructions, both the
target independent ones in the base instruction set and real target
instructions.
Start by providing type definitions matching langref, and begin the meta
language reference using autodoc to pull in the PYthon definitions.
9 years ago
Jakob Olesen
ec918fe332
Begin defining the meta language.
The Cretonne meta language is used to describe Cretonne instructions, both the
target independent ones in the base instruction set and real target
instructions.
Start by providing type definitions matching langref, and begin the meta
language reference using autodoc to pull in the PYthon definitions.
9 years ago
Jakob Olesen
e337d19373
Add some more type classes.
9 years ago
Jakob Olesen
f66d2a26a2
Add some more type classes.
9 years ago
Jakob Olesen
a82a4d2717
Add ReadTheDocs badge with link to documentation.
9 years ago
Jakob Olesen
d1ed09183b
Add ReadTheDocs badge with link to documentation.
9 years ago
Jakob Olesen
2929b6de84
Update README.
9 years ago
Jakob Olesen
5997554aed
Update README.
9 years ago
Jakob Stoklund Olesen
b23b049140
Clean up the list of operations somewhat.
9 years ago
Jakob Stoklund Olesen
ec7d65d8f1
Clean up the list of operations somewhat.
9 years ago
Jakob Stoklund Olesen
2aabcd5cff
Document heaps.
9 years ago
Jakob Stoklund Olesen
519fed894b
Document heaps.
9 years ago
Jakob Stoklund Olesen
4bd4efaf67
Load, store, local variables.
9 years ago
Jakob Stoklund Olesen
095190b1a7
Load, store, local variables.
9 years ago
Jakob Stoklund Olesen
cdc0047ee1
Expand on control flow and direct function calls.
Define the syntax for function signatures.
9 years ago
Jakob Stoklund Olesen
43b4f7f4e7
Expand on control flow and direct function calls.
Define the syntax for function signatures.
9 years ago
Jakob Stoklund Olesen
05ecfc4149
Clarify local SSA form.
Rename 'local' to 'stack_slot'.
9 years ago
Jakob Stoklund Olesen
74eb6ce901
Clarify local SSA form.
Rename 'local' to 'stack_slot'.
9 years ago
Jakob Olesen
e238df3e7c
Add hexadecimal numbers to the lexer.
Also decimal and hexadecimal exponential notation for float constants.
9 years ago
Jakob Olesen
189fc7dfb7
Add hexadecimal numbers to the lexer.
Also decimal and hexadecimal exponential notation for float constants.
9 years ago
Jakob Stoklund Olesen
ca02df9ce2
Document control flow instructions.
9 years ago
Jakob Stoklund Olesen
45caa52622
Document control flow instructions.
9 years ago
Jakob Stoklund Olesen
c228c0b3ae
Switch SIMD type spelling to i32x4.
Add support for 'type variables' in type directives.
9 years ago
Jakob Stoklund Olesen
a3f97e4d1f
Switch SIMD type spelling to i32x4.
Add support for 'type variables' in type directives.
9 years ago
Jakob Stoklund Olesen
75544db19a
Update language reference.
Add a glossary and explain the overall shape of a Cretonne function.
9 years ago
Jakob Stoklund Olesen
401afdc48c
Update language reference.
Add a glossary and explain the overall shape of a Cretonne function.
9 years ago
Jakob Olesen
a686c72ad3
Add langref example
9 years ago
Jakob Olesen
2b2b79dcf8
Add langref example
9 years ago
Jakob Olesen
fbb3174793
Cretonne pygments lexer
9 years ago
Jakob Olesen
36cb753c4f
Cretonne pygments lexer
9 years ago
Jakob Olesen
152945f3d8
Emit list of todo items.
9 years ago
Jakob Olesen
edb2440eaf
Emit list of todo items.
9 years ago
Jakob Olesen
857e0f75a4
Begin the intermediate language reference.
9 years ago