aboutsummaryrefslogtreecommitdiffhomepage
path: root/amd64
Commit message (Collapse)AuthorAgeFilesLines
* isel: fix -fpic factoring out non-symbolic address operands lemon2025-10-231-1/+1
|
* amd64: load/store from abs address constants; movabs lemon2025-10-232-21/+51
|
* amd64/emit PI8 fix int overflow edgecase lemon2025-10-231-1/+1
|
* fix edge case codegen bugs (w/ stack offsets, spilling) lemon2025-10-221-0/+2
|
* amd64/emit errata lemon2025-10-201-1/+1
|
* Organize source files into directories lemon2025-10-192-2/+2
|
* amd64: float conversion insntrs lemon2025-10-182-2/+43
|
* small thigns lemon2025-10-181-1/+1
|
* codegen bugfix lemon2025-10-171-5/+13
|
* amd64: not, udiv lemon2025-10-141-0/+13
|
* amd64: mul -> imul lemon2025-10-131-8/+9
|
* bugfixes lemon2025-10-101-0/+1
|
* initial implementation of run-time array/aggregate initializers lemon2025-10-081-0/+4
|
* fix some more codegen bugs for symbol constants lemon2025-09-162-4/+6
|
* codegen: fix 3-address sub reg,imm codegen lemon2025-09-151-1/+1
|
* start implementing bitfields lemon2025-09-141-0/+6
|
* codegen: float cmp, ior; frontend: fix cond expr bug lemon2025-09-142-5/+21
|
* preliminary pie and pic lemon2025-09-142-19/+62
|
* regalloc: basic spilling support lemon2025-09-132-0/+7
|
* amd64: improve codegen for ADD lemon2025-09-111-0/+3
|
* amd64: bugfix for stack args with no RBP, also reuse epilogue code? lemon2025-09-111-26/+48
|
* amd64/emit: fix order of stack restore operations with regs+stk lemon2025-09-091-6/+11
|
* ioper lemon2025-09-091-12/+21
|
* fixes, delnops lemon2025-09-091-2/+2
|
* amd64: swap, sar lemon2025-09-081-1/+21
|
* amd64: bugfix lemon2025-09-082-5/+9
|
* amd64: fix isel for numeric conversion ops lemon2023-08-071-4/+4
|
* amd64: add mulf and divf codegen lemon2023-08-071-3/+18
|
* amd64/emit bugfix lemon2023-07-091-3/+3
|
* amd64 codegen fixes lemon2023-07-072-13/+20
|
* fix emit() setcc and copy lemon2023-07-061-1/+2
|
* misc bugfixs lemon2023-06-302-23/+92
|
* add initializers (only static for initialier list rn) lemon2023-06-292-34/+91
| | | | and other fixes
* fix some warnings lemon2023-06-251-9/+1
|
* fix regalloc thinking some ins are dead by adding ins.keep lemon2023-06-241-1/+5
|
* amd64/emit: more float fixes lemon2023-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: don't mixup float and int temps lemon2023-06-241-3/+3
| | | | | | copy propagation only happens when dataclasses match, register allocator ignores hints if hint register class and instruction class differ, also add mov between int and float regs in amd64/emit
* backend: fix regalloc to work with more complex dataflow lemon2023-06-243-7/+25
| | | | | | | | 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 undef lemon2023-06-222-26/+26
|
* explicitly store predecessors in each block lemon2023-06-211-4/+4
|
* amd64: fix aggregate return in regs lemon2023-06-201-3/+3
|
* amd64: conform to ABI for varargs func calls lemon2023-06-202-1/+9
|
* improve codegen for div a little (bikeshedding) lemon2023-06-201-0/+5
|
* amd64/emit: ensure stack is 16-byte aligned lemon2023-06-201-10/+29
|
* fix regression wiht ret args not being fixed lemon2023-06-201-2/+7
|
* fix out of bounds read lemon2023-06-201-0/+1
|
* 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-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-202-2/+3
| | | | | | | | 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