ir/TODO

56 lines
1.6 KiB
Plaintext
Raw Normal View History

- type casting nodes
- overflow detection nodes
- va_arg nodes
- BSTART, BEND nodes (to free data allocated by ALLOCA)
- ENTRY node for multy-entry units
- IJMP
- guards
- variable name binding
- VLOAD, VSTORE -> SSA
? reassociation folding rules
- folding engine improvement (one rule for few patterns)
- irreducable loops detection
- irreducable loops support
- range inference and PI node
- SCCP edge cases
- Folding after SCCP (see combo4.ir)
- local scheduling according to data dependencies, register presure and pipeline stalls
- basic block trace scheduling
? instruction selection
- xor, btsl=INCL, btrl=EXCL, btl=IN, bsr, maxss, maxsd, minss, minsd
- MOVZX to avoid a SHIFT and AND instruction
2022-04-21 10:20:41 +03:00
- Use CMOVcc to remove branches
2022-04-22 13:31:28 +03:00
- BURS ???
? register allocation
2022-05-19 11:02:39 +03:00
- hints and low priority registers (prevent allocating registers that are used as hints in the following intersecting intervals)
- spill slot coalescing
- optimal spill code placement through resolution
- splinting (spill only at cold path if possible)
- separate INT and FP allocation phases (for performance)
? code generation
2022-04-20 10:03:00 +03:00
- OVERFLOW
- MIN, MAX, COND
- CAST
? operands swap (binop_int, binop_sse, binop_avx, cmp_int, cmp_fp, cmp_br_int)
- return merge/split
2022-04-22 13:31:28 +03:00
? binary code emission without DynAsm
2022-04-12 10:37:20 +03:00
- 32-bit x86 code
? disassembler
- .rodata section and relative data labels
- modules (functions, data objecs, import, export, prototypes, forward declarations, memory segments, ref data, expr data)
- C compiler
- interpreter
- alias analyzes
- PHP support