ir/TODO

43 lines
1.8 KiB
Plaintext
Raw Permalink Normal View History

- va_arg nodes
? BSTART, BEND nodes (to free data allocated by ALLOCA) (now it's possible to do this through AFREE)
- Full support for function prototypes ???
(now we may only set "fastcall" calling convention for constants or for variables through BITCAST)
- 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
- Extend SCCP to support range inference and PI node
2023-04-14 09:45:56 +02:00
- See "Eliminating Range Checks using SSA Form" John Gough, Herbert Klaeren
- PI nodes may be defined as %dst = BOUND_LOW/HIGH(%ctrl, %src, %low/high_bound)
- PI nodes may be inserted after IF and GUARD
- PI should not be lifted to BB with PHIs
? instruction selection
2023-04-14 09:45:56 +02:00
- btsl=INCL, btrl=EXCL, btl=IN, bsr
- MOVZX to avoid a SHIFT and AND instruction
2022-04-22 12:31:28 +02:00
- BURS ???
? register allocation
- hints and low priority registers (prevent allocating registers that are used as hints
2022-05-26 23:11:31 +02:00
tests/x86/ra_015.irt, tests/x86/combo_004.irt tests/x86/min_005.ir, tests/x86/min_006.irt, tests/x86/abs_001.irt)
2022-05-26 20:19:42 +02:00
- optimisation of spill code placement (BB local or through resolution)
2022-05-19 10:02:39 +02:00
- separate INT and FP allocation phases (for performance)
2022-12-16 10:57:40 +01:00
- tests/x86/ra_007.irt loads one of the parameters too early that leads to the following useless move
2023-04-14 09:45:56 +02:00
- Try to avoid live-interval construction, see "Efficient Global Register Allocation" Ian Rogers
? code generation
2022-05-20 12:09:41 +02:00
- COND
- TAILCALL with stack arguments (tests/x86/tailcall_001.itr)
2022-05-26 15:34:01 +02:00
- 32-bit x86 back-end 64-bit integers support
2022-05-26 20:19:42 +02:00
(add_009.irt, conv_001.irt, conv_002.irt, conv_004.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