Statistics
| Branch: | Revision:

root / tcg @ ce285b17

Name Size
  arm
  hppa
  i386
  ia64
  mips
  ppc
  ppc64
  s390
  sparc
LICENSE 146 Bytes
README 14.9 kB
TODO 394 Bytes
optimize.c 16.3 kB
tcg-op.h 78 kB
tcg-opc.h 9.5 kB
tcg-runtime.h 706 Bytes
tcg.c 67.4 kB
tcg.h 17.7 kB

Latest revisions

# Date Author Comment
ce285b17 10/31/2011 10:52 pm Stefan Weil

tcg: TCG targets may define tcg_qemu_tb_exec

Targets may use a non standard definition of tcg_tb_exec
by defining this macro in their tcg_target.h.

This is used here by ppc. It will be used by the TCG interpreter, too.

Cc: malc <>
Signed-off-by: Stefan Weil <>

df072774 10/30/2011 11:06 am Richard Henderson

tcg: Optimize some forms of deposit.

If the deposit replaces the entire word, optimize to a move.

If we're inserting to the top of the word, avoid the mask of arg2
as we'll be shifting out all of the garbage and shifting in zeros.

If the host is 32-bit, reduce a 64-bit deposit to a 32-bit deposit...

8ef935b2 10/14/2011 04:39 pm Stefan Weil

tcg: Fix spelling in comment (varables -> variables)

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

dc439de7 10/08/2011 06:21 pm Peter Maydell

tcg/s390: Remove unused tcg_out_addi()

Remove the unused function tcg_out_addi() from the s390 TCG backend;
this brings it into line with other backends.

Signed-off-by: Peter Maydell <>
Acked-by: Richard Henderson <>...

49856292 10/08/2011 06:20 pm Peter Maydell

tcg/ia64: Remove unused tcg_out_addi()

Remove the unused function tcg_out_addi() from the ia64 TCG backend;
this brings it into line with other backends.

Signed-off-by: Peter Maydell <>
Signed-off-by: Blue Swirl <>

a4773324 10/01/2011 09:42 am Jan Kiszka

tcg-i386: Introduce limited deposit support

x86 cannot provide an optimized generic deposit implementation. But at
least for a few special cases, namely for writing bits 0..7, 8..15, and
0..15, versions using only a single instruction are feasible.
Introducing such limited support improves emulating 16-bit x86 code on...

df0eda9b 10/01/2011 09:15 am Peter Maydell

tcg/arm: Remove unused tcg_out_addi()

Remove the unused function tcg_out_addi() from the ARM TCG backend;
this fixes a compilation failure on ARM hosts with newer gcc.

Signed-off-by: Peter Maydell <>
Reviewed-by: Richard Henderson <>...

7f6f0ae5 10/01/2011 09:11 am Stefan Weil

tcg: Add some assertions

Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

c0ad3001 10/01/2011 09:11 am Stefan Weil

tcg: Add forward declarations for local functions

These functions are defined in the tcg target specific file
tcg-target.c.

The forward declarations assert that every tcg target uses
the same function prototype.

Signed-off-by: Stefan Weil <>...

840f5861 10/01/2011 09:11 am Stefan Weil

tcg: Don't declare TCG_TARGET_REG_BITS in tcg-target.h

It is now declared for all tcg targets in tcg.h,
so the tcg target specific declarations are redundant.

Signed-off-by: Stefan Weil <>
Signed-off-by: Blue Swirl <>

View revisions

Also available in: Atom