~ubuntu-branches/ubuntu/hardy/kvm/hardy-backports

« back to all changes in this revision

Viewing changes to qemu/tcg/TODO

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2008-02-26 13:10:57 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: james.westby@ubuntu.com-20080226131057-s67x6l89mtjw1x9b
Tags: 1:62+dfsg-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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).