]> git.proxmox.com Git - qemu.git/blob - tcg/TODO
TCG code generator
[qemu.git] / tcg / TODO
1 - test macro system
2
3 - test conditional jumps
4
5 - test mul, div, ext8s, ext16s, bswap
6
7 - generate a global TB prologue and epilogue to save/restore registers
8 to/from the CPU state and to reserve a stack frame to optimize
9 helper calls. Modify cpu-exec.c so that it does not use global
10 register variables (except maybe for 'env').
11
12 - fully convert the x86 target. The minimal amount of work includes:
13 - add cc_src, cc_dst and cc_op as globals
14 - disable its eflags optimization (the liveness analysis should
15 suffice)
16 - move complicated operations to helpers (in particular FPU, SSE, MMX).
17
18 - optimize the x86 target:
19 - move some or all the registers as globals
20 - use the TB prologue and epilogue to have QEMU target registers in
21 pre assigned host registers.
22
23 Ideas:
24
25 - Move the slow part of the qemu_ld/st ops after the end of the TB.
26
27 - Experiment: change instruction storage to simplify macro handling
28 and to handle dynamic allocation and see if the translation speed is
29 OK.
30
31 - change exception syntax to get closer to QOP system (exception
32 parameters given with a specific instruction).