ir/TODO

46 lines
1.4 KiB
Plaintext
Raw Normal View History

- va_arg nodes
- BSTART, BEND nodes (to free data allocated by ALLOCA)
- ENTRY node for multy-entry units
- guards
- variable name binding
- VLOAD, VSTORE -> SSA
? reassociation folding rules
- folding engine improvement (one rule for few patterns)
2022-05-19 21:12:20 +02:00
- irreducable loops detection/support
- range inference and PI node
- SCCP edge cases
- Folding after SCCP (see combo4.ir)
? instruction selection
2022-05-23 18:34:09 +02:00
- xor, btsl=INCL, btrl=EXCL, btl=IN, bsr
- MOVZX to avoid a SHIFT and AND instruction
2022-04-21 09:20:41 +02:00
- Use CMOVcc to remove branches
2022-04-22 12:31:28 +02:00
- BURS ???
? register allocation
2022-05-26 15:34:01 +02:00
- hints and low priority registers (prevent allocating registers that are used as hints tests/x86/ra_015.irt)
2022-05-19 10:02:39 +02:00
- 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-05-20 12:09:41 +02:00
- COND
2022-05-26 15:34:01 +02:00
? 32-bit x86 back-end
- ABS_INT incorrect register allocation (tests/x86/abs_001.irt)
- MIN swap operands (tests/x86/min_005.ir, tests/x86/min_006.irt)
- 32-bit x86 back-end 64-bit integers support
(add_009.irt, conv_001.irt, conv_002.irt, conv_004.irt, conv_007.irt, conv_010.irt, sub_009.irt)
2022-05-19 21:12:20 +02:00
- binary code emission without DynAsm ???
- modules (functions, data objecs, import, export, prototypes, forward declarations, memory segments, ref data, expr data)
2022-05-19 21:12:20 +02:00
- C front-end
- interpreter
- alias analyzes
- PHP support