Statistics
| Branch: | Revision:

root / tcg @ 53108fb5

Name Size
  arm
  hppa
  i386
  ia64
  mips
  ppc
  ppc64
  s390
  sparc
LICENSE 146 Bytes
README 14.9 kB
TODO 394 Bytes
optimize.c 12.9 kB
tcg-op.h 76.7 kB
tcg-opc.h 8.9 kB
tcg-runtime.h 706 Bytes
tcg.c 66.2 kB
tcg.h 15.9 kB

Latest revisions

# Date Author Comment
53108fb5 07/30/2011 01:51 pm Kirill Batuzov

Do constant folding for basic arithmetic operations.

Perform actual constant folding for ADD, SUB and MUL operations.

Signed-off-by: Kirill Batuzov <>
Signed-off-by: Blue Swirl <>

22613af4 07/30/2011 01:51 pm Kirill Batuzov

Add copy and constant propagation.

Make tcg_constant_folding do copy and constant propagation. It is a
preparational work before actual constant folding.

Signed-off-by: Kirill Batuzov <>
Signed-off-by: Blue Swirl <>

8f2e8c07 07/30/2011 01:51 pm Kirill Batuzov

Add TCG optimizations stub

Added file tcg/optimize.c to hold TCG optimizations. Function tcg_optimize
is called from tcg_gen_code_common. It calls other functions performing
specific optimizations. Stub for constant folding was added.

Signed-off-by: Kirill Batuzov <>...

ea15fb06 07/21/2011 12:03 am Stefan Weil

tcg/mips: Fix regression caused by typo (copy + paste bug)

cppcheck reports an error:
qemu/tcg/mips/tcg-target.c:1487: error: Invalid number of character (()

The unpatched code won't compile on mips hosts starting with commit
cea5f9a28faa528b6b1b117c9ab2d8828f473fef....

107a47cc 07/16/2011 04:17 pm Peter Maydell

tcg/README: Expand advice on number of TCG ops per target insn

Expand the note on the number of TCG ops generated per target insn,
to be clearer about the range of applicability of the 20 op rule
of thumb. Also add a note about the hard MAX_OP_PER_INSTR limit....

f74b32de 07/02/2011 09:48 pm Blue Swirl

TCG/PPC: use stack for TCG temps

Use stack instead of temp_buf array in CPUState for TCG temps.

Signed-off-by: Blue Swirl <>

ec188429 07/02/2011 12:07 am Richard Henderson

tcg-hppa: Support deposit opcode.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

2a6a665f 07/01/2011 11:52 pm Blue Swirl

TCG/HPPA: use stack for TCG temps

Use stack instead of temp_buf array in CPUState for TCG temps.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

a42bceec 07/01/2011 11:49 pm Blue Swirl

TCG/HPPA: use TCG_REG_CALL_STACK instead of TCG_REG_SP

Use TCG_REG_CALL_STACK instead of TCG_REG_SP for consistency.

Acked-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

c24a9c6e 06/28/2011 01:27 am malc

tcg/ppc64: Remove tcg_out_addi

The only user (within tcg.c) was removed

Signed-off-by: malc <>

View revisions

Also available in: Atom