| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | make sure indirect function call pointer does not end up in clobber reg | 2025-11-22 | 1 | -0/+5 | |
| | | |||||
| * | ir: barebones IR passes checked contracts | 2025-11-21 | 1 | -0/+2 | |
| | | |||||
| * | remove umul | 2025-11-21 | 1 | -3/+2 | |
| | | |||||
| * | change op names to match 285063eba44 | 2025-11-21 | 1 | -13/+13 | |
| | | |||||
| * | rename IR classes to reflect bitsize | 2025-11-21 | 1 | -11/+11 | |
| | | |||||
| * | isel: lower allocas a different way, such that stk address gets materialized ↵ | 2025-11-20 | 1 | -23/+58 | |
| | | | | | when necesary | ||||
| * | ir: for easier debugging, keep ctype in dats, print as literal when possible | 2025-11-20 | 1 | -3/+7 | |
| | | |||||
| * | debug output to stdout | 2025-11-19 | 1 | -1/+1 | |
| | | |||||
| * | isel: don't incorrectly clamp constant lhs of shift operation | 2025-11-15 | 1 | -4/+4 | |
| | | |||||
| * | isel: fold arith | 2025-11-14 | 1 | -1/+21 | |
| | | |||||
| * | preeliminary va_list support | 2025-11-14 | 1 | -5/+23 | |
| | | |||||
| * | amd64/isel: fold Oext with immediates | 2025-11-12 | 1 | -0/+8 | |
| | | |||||
| * | implement argument passing in stack | 2025-11-12 | 1 | -6/+18 | |
| | | |||||
| * | fixup! amd64: get rid of xinc/xdec. handle those at emit stage | 2025-11-09 | 1 | -1/+1 | |
| | | |||||
| * | amd64/isel: make `sub imm` work for address fusing | 2025-11-09 | 1 | -2/+8 | |
| | | |||||
| * | amd64: get rid of xinc/xdec. handle those at emit stage | 2025-11-09 | 1 | -18/+1 | |
| | | |||||
| * | amd64: fix aggregate abi stuff;; ir: fold, peephole optimizing constructors | 2025-11-05 | 1 | -2/+1 | |
| | | |||||
| * | isel: fix 3-address add when used for flags in branch | 2025-11-02 | 1 | -0/+3 | |
| | | |||||
| * | isel fixes | 2025-10-30 | 1 | -3/+11 | |
| | | |||||
| * | isel: fix address sel for absolute int addr | 2025-10-26 | 1 | -0/+7 | |
| | | |||||
| * | amd64 missing stuff | 2025-10-23 | 1 | -2/+10 | |
| | | |||||
| * | isel: fix -fpic factoring out non-symbolic address operands | 2025-10-23 | 1 | -1/+1 | |
| | | |||||
| * | amd64: load/store from abs address constants; movabs | 2025-10-23 | 1 | -10/+19 | |
| | | |||||
| * | amd64: float conversion insntrs | 2025-10-18 | 1 | -0/+13 | |
| | | |||||
| * | small thigns | 2025-10-18 | 1 | -1/+1 | |
| | | |||||
| * | bugfixes | 2025-10-10 | 1 | -0/+1 | |
| | | |||||
| * | initial implementation of run-time array/aggregate initializers | 2025-10-08 | 1 | -0/+4 | |
| | | |||||
| * | fix some more codegen bugs for symbol constants | 2025-09-16 | 1 | -2/+5 | |
| | | |||||
| * | codegen: float cmp, ior; frontend: fix cond expr bug | 2025-09-14 | 1 | -2/+5 | |
| | | |||||
| * | preliminary pie and pic | 2025-09-14 | 1 | -8/+25 | |
| | | |||||
| * | amd64: fix isel for numeric conversion ops | 2023-08-07 | 1 | -4/+4 | |
| | | |||||
| * | amd64 codegen fixes | 2023-07-07 | 1 | -1/+1 | |
| | | |||||
| * | misc bugfixs | 2023-06-30 | 1 | -4/+2 | |
| | | |||||
| * | add initializers (only static for initialier list rn) | 2023-06-29 | 1 | -7/+33 | |
| | | | | | and other fixes | ||||
| * | fix some warnings | 2023-06-25 | 1 | -9/+1 | |
| | | |||||
| * | fix regalloc thinking some ins are dead by adding ins.keep | 2023-06-24 | 1 | -1/+5 | |
| | | |||||
| * | amd64/emit: more float fixes | 2023-06-24 | 1 | -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 dataflow | 2023-06-24 | 1 | -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 undef | 2023-06-22 | 1 | -12/+12 | |
| | | |||||
| * | explicitly store predecessors in each block | 2023-06-21 | 1 | -4/+4 | |
| | | |||||
| * | amd64: conform to ABI for varargs func calls | 2023-06-20 | 1 | -1/+0 | |
| | | |||||
| * | improve codegen for div a little (bikeshedding) | 2023-06-20 | 1 | -0/+5 | |
| | | |||||
| * | fix regression wiht ret args not being fixed | 2023-06-20 | 1 | -2/+7 | |
| | | |||||
| * | fix out of bounds read | 2023-06-20 | 1 | -0/+1 | |
| | | |||||
| * | don't lower params and args to registers in abi0 | 2023-06-20 | 1 | -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 | 2023-06-20 | 1 | -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 | 2023-06-19 | 1 | -16/+102 | |
| | | |||||
| * | fix isel & emit for sym constants | 2023-06-19 | 1 | -8/+6 | |
| | | |||||
| * | add endian.h for endian dependent stuff | 2023-06-18 | 1 | -0/+1 | |
| | | |||||
| * | ELF output static data | 2023-06-18 | 1 | -1/+1 | |
| | | |||||