| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | don't lower params and args to registers in abi0 | 2023-06-20 | 6 | -57/+101 | |
| | | | | | | 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 | 6 | -17/+23 | |
| | | | | | | | | | 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 | ||||
| * | errata | 2023-06-20 | 1 | -2/+2 | |
| | | |||||
| * | elf: fix type mismatch from bfore | 2023-06-19 | 1 | -3/+3 | |
| | | |||||
| * | regalloc: alloc extra memory for alloc map | 2023-06-19 | 1 | -1/+1 | |
| | | | | | | regalloc itself can insert instructions so this was causing out of bounds read errors | ||||
| * | backend: compile comparison instrs and branches | 2023-06-19 | 8 | -40/+370 | |
| | | |||||
| * | amd64/emit: fix mov(zx/sx)w | 2023-06-19 | 1 | -6/+6 | |
| | | |||||
| * | oops | 2023-06-19 | 1 | -1/+1 | |
| | | |||||
| * | frontend: disallow non-local decls in for initializer | 2023-06-19 | 1 | -6/+14 | |
| | | |||||
| * | frontend: rename parser -> lexer and document c.c | 2023-06-19 | 3 | -233/+251 | |
| | | |||||
| * | frontend: separate compiler & lexer | 2023-06-19 | 7 | -381/+386 | |
| | | |||||
| * | frontend: add for, break, continue statements | 2023-06-19 | 3 | -75/+202 | |
| | | |||||
| * | fix isel & emit for sym constants | 2023-06-19 | 3 | -9/+11 | |
| | | |||||
| * | add %y symbol printing | 2023-06-19 | 2 | -4/+14 | |
| | | |||||
| * | move ctype to common.h | 2023-06-19 | 2 | -11/+7 | |
| | | |||||
| * | don't try to compile when debugging IR | 2023-06-19 | 3 | -8/+13 | |
| | | |||||
| * | oops | 2023-06-19 | 1 | -1/+1 | |
| | | |||||
| * | forgot some statics | 2023-06-18 | 2 | -3/+3 | |
| | | |||||
| * | update todo.txt | 2023-06-18 | 1 | -2/+0 | |
| | | |||||
| * | separate elf64 and elf32 structures | 2023-06-18 | 2 | -180/+354 | |
| | | |||||
| * | add endian.h for endian dependent stuff | 2023-06-18 | 7 | -55/+150 | |
| | | |||||
| * | fix iowrite() | 2023-06-18 | 1 | -1/+4 | |
| | | |||||
| * | fix memory bugs | 2023-06-18 | 3 | -10/+14 | |
| | | |||||
| * | basic cli driver | 2023-06-18 | 2 | -63/+296 | |
| | | |||||
| * | ELF output static data | 2023-06-18 | 7 | -26/+82 | |
| | | |||||
| * | basic ELF output | 2023-06-17 | 14 | -39/+692 | |
| | | |||||
| * | misc | 2023-06-17 | 6 | -27/+46 | |
| | | |||||
| * | hint in-place operations to use same reg for lhs and dest | 2023-06-15 | 1 | -1/+1 | |
| | | |||||
| * | less memset | 2023-06-15 | 3 | -5/+9 | |
| | | |||||
| * | oops | 2023-06-14 | 1 | -1/+1 | |
| | | |||||
| * | cleanup | 2023-06-14 | 1 | -15/+14 | |
| | | |||||
| * | imrpove emit() | 2023-06-14 | 2 | -78/+106 | |
| | | |||||
| * | add spilling for function calls, misc fixes | 2023-06-14 | 6 | -41/+180 | |
| | | |||||
| * | simpler handling of large constants in IR | 2023-06-14 | 6 | -37/+37 | |
| | | |||||
| * | rename | 2023-06-14 | 2 | -2/+2 | |
| | | |||||
| * | rename parse.c -> c.c | 2023-06-13 | 2 | -1/+1 | |
| | | |||||
| * | lowering of structcopy | 2023-06-13 | 7 | -93/+178 | |
| | | |||||
| * | oops | 2023-06-13 | 1 | -1/+1 | |
| | | |||||
| * | use a hashtable for addr refs | 2023-06-13 | 7 | -18/+39 | |
| | | |||||
| * | lower allocas in isel() instead of emit() and misc fixes | 2023-06-13 | 11 | -172/+146 | |
| | | |||||
| * | amd64/emit: add comments | 2023-06-12 | 1 | -87/+115 | |
| | | |||||
| * | add todo.txt | 2023-06-12 | 1 | -0/+11 | |
| | | |||||
| * | dumb | 2023-06-12 | 1 | -9/+8 | |
| | | |||||
| * | xor reg,reg | 2023-06-12 | 3 | -5/+29 | |
| | | |||||
| * | nyi fdiv | 2023-06-12 | 1 | -1/+1 | |
| | | |||||
| * | dec,inc,sub | 2023-06-12 | 5 | -3/+57 | |
| | | |||||
| * | bugfix | 2023-06-12 | 2 | -3/+4 | |
| | | |||||
| * | amd64/emit: emit LEA for 3-address ADD | 2023-06-12 | 1 | -3/+14 | |
| | | |||||
| * | oops | 2023-06-12 | 1 | -1/+1 | |
| | | |||||
| * | something with phi | 2023-06-12 | 3 | -36/+18 | |
| | | |||||