Commit graph

407 commits

Author SHA1 Message Date
Brendan Hansknecht
35fd54b8fd Define basics of x86_64 calling conventions 2020-11-16 23:37:02 -08:00
Brendan Hansknecht
44ef41f9bb Add some register use information 2020-11-16 23:10:58 -08:00
Brendan Hansknecht
9644b65ca5 Add unit tests to assembly generation 2020-11-15 22:27:10 -08:00
Brendan Hansknecht
ec4e19d01f Extract remain assembly to asm.rs 2020-11-15 21:05:53 -08:00
Brendan Hansknecht
0fcb1df344 Refactor x86_64 backend and add first assembly methods 2020-11-15 20:43:14 -08:00
Brendan Hansknecht
a8986087f9 Add ability to return int literals 2020-11-15 14:06:20 -08:00
Brendan Hansknecht
86c3c0a409 Add base structure for dev compiler backend
Currently we only generate a single static function, but it is probably
loaded and run with jit. This is the base to start generating proper
code.
2020-11-14 18:43:02 -08:00