| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | backend: fix regalloc to work with more complex dataflow | 2023-06-24 | 1 | -5/+10 | |
| | | | | | | | | | basically an allocation map at the beginning (in) and end (out) of each block is kept and after the first allocation pass another pass is ran to resolve allocation conflicts between each edge, plus another pass to finish lowering phi functions. also introduced `regset` and plenty of other miscellaneous fixes | ||||
| * | change RMORE -> RADDR; use RXXX (RNONE) for special args,also undef | 2023-06-22 | 1 | -14/+15 | |
| | | |||||
| * | misc fix | 2023-06-22 | 1 | -1/+2 | |
| | | |||||
| * | mem2reg: implement ssa construction; this breaks regalloc right now | 2023-06-21 | 1 | -14/+15 | |
| | | |||||
| * | explicitly store predecessors in each block | 2023-06-21 | 1 | -12/+13 | |
| | | |||||
| * | amd64/emit: ensure stack is 16-byte aligned | 2023-06-20 | 1 | -0/+1 | |
| | | |||||
| * | add basic mem2reg | 2023-06-20 | 1 | -1/+11 | |
| | | | | | | | | promotes uniform stack slots to temporaries currently only for immutable variables, next thing to implement is ssa construction | ||||
| * | don't lower params and args to registers in abi0 | 2023-06-20 | 1 | -1/+1 | |
| | | | | | | it's better to do it later, currently in isel(), but perhaps in a pre-isel abi1 pass | ||||
| * | fix cls logic for comparison instrs | 2023-06-20 | 1 | -2/+4 | |
| | | | | | | | | | previously instr.cls always represented the output dataclass. this doesn't work for comparisons because we know the output is always a boolean integer and we care about the actual comparison dataclass. so now .cls represents the operation dataclass, which matches the result class except for comparisons where the result is always KI4V | ||||
| * | backend: compile comparison instrs and branches | 2023-06-19 | 1 | -0/+1 | |
| | | |||||
| * | fix isel & emit for sym constants | 2023-06-19 | 1 | -0/+1 | |
| | | |||||
| * | ELF output static data | 2023-06-18 | 1 | -2/+3 | |
| | | |||||
| * | basic ELF output | 2023-06-17 | 1 | -0/+1 | |
| | | |||||
| * | misc | 2023-06-17 | 1 | -0/+6 | |
| | | |||||
| * | simpler handling of large constants in IR | 2023-06-14 | 1 | -4/+8 | |
| | | |||||
| * | lowering of structcopy | 2023-06-13 | 1 | -0/+2 | |
| | | |||||
| * | use a hashtable for addr refs | 2023-06-13 | 1 | -1/+2 | |
| | | |||||
| * | lower allocas in isel() instead of emit() and misc fixes | 2023-06-13 | 1 | -8/+9 | |
| | | |||||
| * | register renaming and such | 2023-06-12 | 1 | -1/+1 | |
| | | |||||
| * | remove RPARAM, add Oparam, lower args/rets to abi regs in abi0 | 2023-06-11 | 1 | -4/+9 | |
| | | |||||
| * | isel skeleton | 2023-06-10 | 1 | -7/+19 | |
| | | |||||
| * | codegen skeleton | 2023-06-06 | 1 | -0/+5 | |
| | | |||||
| * | encode calls a different way in the IR | 2023-06-05 | 1 | -7/+8 | |
| | | |||||
| * | style | 2023-06-05 | 1 | -3/+2 | |
| | | |||||
| * | strlits | 2023-06-05 | 1 | -5/+8 | |
| | | |||||
| * | abi lowering pass | 2023-06-04 | 1 | -17/+38 | |
| | | |||||
| * | basic ABI lowering of aggregates | 2023-06-01 | 1 | -7/+26 | |
| | | |||||
| * | struct args and return | 2023-06-01 | 1 | -7/+14 | |
| | | |||||
| * | regalloc skeleton | 2023-05-31 | 1 | -7/+32 | |
| | | |||||
| * | fix void conditional expr; condjump, condexprvalue optimizations | 2023-05-31 | 1 | -0/+1 | |
| | | |||||
| * | phis? | 2023-05-30 | 1 | -16/+24 | |
| | | |||||
| * | hm | 2023-05-26 | 1 | -1/+1 | |
| | | |||||
| * | initial commit | 2023-05-10 | 1 | -0/+117 | |