aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64/emit.c
Commit message (Collapse)AuthorAgeFilesLines
* fix cls logic for comparison instrs lemon2023-06-201-1/+2
| | | | | | | | 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
|
* backend: compile comparison instrs and branches lemon2023-06-191-14/+229
|
* amd64/emit: fix mov(zx/sx)w lemon2023-06-191-6/+6
|
* fix isel & emit for sym constants lemon2023-06-191-1/+4
|
* oops lemon2023-06-191-1/+1
|
* add endian.h for endian dependent stuff lemon2023-06-181-0/+1
|
* basic ELF output lemon2023-06-171-7/+29
|
* misc lemon2023-06-171-10/+14
|
* oops lemon2023-06-141-1/+1
|
* imrpove emit() lemon2023-06-141-78/+104
|
* add spilling for function calls, misc fixes lemon2023-06-141-6/+18
|
* simpler handling of large constants in IR lemon2023-06-141-4/+4
|
* use a hashtable for addr refs lemon2023-06-131-2/+2
|
* lower allocas in isel() instead of emit() and misc fixes lemon2023-06-131-47/+8
|
* amd64/emit: add comments lemon2023-06-121-87/+115
|
* dumb lemon2023-06-121-9/+8
|
* xor reg,reg lemon2023-06-121-3/+13
|
* nyi fdiv lemon2023-06-121-1/+1
|
* dec,inc,sub lemon2023-06-121-0/+22
|
* amd64/emit: emit LEA for 3-address ADD lemon2023-06-121-3/+14
|
* register renaming and such lemon2023-06-121-3/+27
|
* remove RPARAM, add Oparam, lower args/rets to abi regs in abi0 lemon2023-06-111-32/+62
|
* isel skeleton lemon2023-06-101-114/+344
|
* codegen skeleton lemon2023-06-061-0/+323