aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64/isel.c
Commit message (Collapse)AuthorAgeFilesLines
* improve codegen for div a little (bikeshedding) lemon2023-06-201-0/+5
|
* fix regression wiht ret args not being fixed lemon2023-06-201-2/+7
|
* fix out of bounds read lemon2023-06-201-0/+1
|
* don't lower params and args to registers in abi0 lemon2023-06-201-2/+60
| | | | | 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-201-1/+1
| | | | | | | | 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 lemon2023-06-191-16/+102
|
* fix isel & emit for sym constants lemon2023-06-191-8/+6
|
* add endian.h for endian dependent stuff lemon2023-06-181-0/+1
|
* ELF output static data lemon2023-06-181-1/+1
|
* basic ELF output lemon2023-06-171-9/+9
|
* misc lemon2023-06-171-3/+3
|
* imrpove emit() lemon2023-06-141-0/+2
|
* add spilling for function calls, misc fixes lemon2023-06-141-8/+10
|
* simpler handling of large constants in IR lemon2023-06-141-16/+14
|
* lowering of structcopy lemon2023-06-131-2/+2
|
* use a hashtable for addr refs lemon2023-06-131-3/+2
|
* lower allocas in isel() instead of emit() and misc fixes lemon2023-06-131-49/+54
|
* xor reg,reg lemon2023-06-121-1/+12
|
* dec,inc,sub lemon2023-06-121-1/+17
|
* something with phi lemon2023-06-121-1/+1
|
* register renaming and such lemon2023-06-121-9/+32
|
* remove RPARAM, add Oparam, lower args/rets to abi regs in abi0 lemon2023-06-111-21/+5
|
* isel skeleton lemon2023-06-101-0/+247