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