1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-29 06:37:41 +00:00

More work on x64 backend, especially branching.

Needs changes to IR to allow encoding immediates in all
instructions where possible. This makes the IR denser, means
we don't need `constant` and `callk`, and allows certain optimizations
like comparing to zero, using `inc` and `dec`, etc which are
specializations of more general instructions with constants.
This commit is contained in:
Calvin Rose
2024-06-08 13:20:34 -05:00
parent 3995fa86e2
commit af10c1d4b5
5 changed files with 275 additions and 91 deletions

View File

@@ -367,5 +367,5 @@
####
(compile1 myprog)
#(dump)
(dump)
(dumpx64)