aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64/isel.c
Commit message (Collapse)AuthorAgeFilesLines
* initial implementation of run-time array/aggregate initializerslemon2025-10-081-0/+4
|
* fix some more codegen bugs for symbol constantslemon2025-09-161-2/+5
|
* codegen: float cmp, ior; frontend: fix cond expr buglemon2025-09-141-2/+5
|
* preliminary pie and piclemon2025-09-141-8/+25
|
* amd64: fix isel for numeric conversion opslemon2023-08-071-4/+4
|
* amd64 codegen fixeslemon2023-07-071-1/+1
|
* misc bugfixslemon2023-06-301-4/+2
|
* add initializers (only static for initialier list rn)lemon2023-06-291-7/+33
| | | | and other fixes
* fix some warningslemon2023-06-251-9/+1
|
* fix regalloc thinking some ins are dead by adding ins.keeplemon2023-06-241-1/+5
|
* amd64/emit: more float fixeslemon2023-06-241-21/+24
| | | | | optimize loading 0.0 in phis as well as regular copies and also don't use inc or addr for float addition
* backend: fix regalloc to work with more complex dataflowlemon2023-06-241-1/+1
| | | | | | | | 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 undeflemon2023-06-221-12/+12
|
* explicitly store predecessors in each blocklemon2023-06-211-4/+4
|
* amd64: conform to ABI for varargs func callslemon2023-06-201-1/+0
|
* improve codegen for div a little (bikeshedding)lemon2023-06-201-0/+5
|
* fix regression wiht ret args not being fixedlemon2023-06-201-2/+7
|
* fix out of bounds readlemon2023-06-201-0/+1
|
* don't lower params and args to registers in abi0lemon2023-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 instrslemon2023-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 brancheslemon2023-06-191-16/+102
|
* fix isel & emit for sym constantslemon2023-06-191-8/+6
|
* add endian.h for endian dependent stufflemon2023-06-181-0/+1
|
* ELF output static datalemon2023-06-181-1/+1
|
* basic ELF outputlemon2023-06-171-9/+9
|
* misclemon2023-06-171-3/+3
|
* imrpove emit()lemon2023-06-141-0/+2
|
* add spilling for function calls, misc fixeslemon2023-06-141-8/+10
|
* simpler handling of large constants in IRlemon2023-06-141-16/+14
|
* lowering of structcopylemon2023-06-131-2/+2
|
* use a hashtable for addr refslemon2023-06-131-3/+2
|
* lower allocas in isel() instead of emit() and misc fixeslemon2023-06-131-49/+54
|
* xor reg,reglemon2023-06-121-1/+12
|
* dec,inc,sublemon2023-06-121-1/+17
|
* something with philemon2023-06-121-1/+1
|
* register renaming and suchlemon2023-06-121-9/+32
|
* remove RPARAM, add Oparam, lower args/rets to abi regs in abi0lemon2023-06-111-21/+5
|
* isel skeletonlemon2023-06-101-0/+247