Statistics
| Branch: | Revision:

root / tcg / ppc64 @ 15ecf6e3

Name Size
tcg-target.c 64.8 kB
tcg-target.h 4.2 kB

Latest revisions

# Date Author Comment
f713d6ad 10/10/2013 11:19 pm Richard Henderson

tcg: Add qemu_ld_st_i32/64

Step two in the transition, adding the new ldst opcodes. Keep the old
opcodes around until all backends support the new opcodes.

Signed-off-by: Richard Henderson <>

9ecefc84 10/10/2013 09:44 pm Richard Henderson

tcg: Add tcg-be-ldst.h

Move TCGLabelQemuLdst and related stuff out of tcg.h.

Signed-off-by: Richard Henderson <>

7f12d649 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Implement CONFIG_QEMU_LDST_OPTIMIZATION

Signed-off-by: Richard Henderson <>

d40f3cb1 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Fold constant call address into descriptor load

Eliminates one insn per call:

:  lis     r2,4165
: ori r2,r2,59616
: ld r0,0(r2)
: ld r0,-5920(r2)
: mtctr r0
-: ld r2,8(r2)
: ld r2,-5912(r2)
: bctrl

Signed-off-by: Richard Henderson <>

b0940da0 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Look through a constant function descriptor

Especially in the user-only configurations, a direct branch into
the executable may be in range.

Signed-off-by: Richard Henderson <>

5e1702b0 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Tidy register allocation order

Remove conditionalization from tcg_target_reg_alloc_order, relying on
reserved_regs to prevent register allocation that shouldn't happen.
So R11 is now present in reg_alloc_order for APPLE, but also now
reserved....

b18d5d2b 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Handle long offsets better

Previously we'd only handle 16-bit offsets from memory operand without falling
back to indexed, but it's easy to use ADDIS to handle full 32-bit offsets.

This also lets us unify code that existed inline in tcg_out_op for handling...

fa94c3be 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Implement tcg_register_jit

Signed-off-by: Richard Henderson <>

fedee3e7 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Streamline tcg_out_tlb_read

Less conditional compilation. Merge an add insn with the indexed
memory load insn. Load the tlb addend earlier. Avoid the address
update memory form.

Fix a bug in not allowing large enough tlb offsets for some guests....

c7ca6a2b 09/25/2013 05:46 pm Richard Henderson

tcg-ppc64: Add _noaddr functions for emitting forward branches

... rather than open-coding this stuff through the file.

Signed-off-by: Richard Henderson <>

View revisions

Also available in: Atom