Statistics
| Branch: | Revision:

root / target-s390x @ 5b185639

Name Size
cpu.h 33.5 kB
exec.h 1.3 kB
helper.c 17.1 kB
helpers.h 6.3 kB
kvm.c 11.4 kB
machine.c 930 Bytes
op_helper.c 73.6 kB
translate.c 162.6 kB

Latest revisions

# Date Author Comment
225b6af7 06/03/2011 02:34 pm Stefan Weil

target-s390x: Add missing tcg_temp_free_i64() in disas_s390_insn(), opc == 0x8e

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

bbf9f3b4 06/03/2011 02:34 pm Stefan Weil

target-s390x: Add missing tcg_temp_free_i64() in disas_s390_insn(), opc == 0x90

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

2497a67f 06/03/2011 02:34 pm Stefan Weil

target-s390x: Add missing tcg_temp_free_i32()

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

87b0b705 06/03/2011 02:34 pm Alexander Graf

s390x: free tmp explicitly in every opcode for disas_a5()

The disas_a5() function provided a TCG tmp variable which was populated
by the respective opcode implementations, but freed at the end of the
function in generic code.

That makes it really hard for code review, so let's move the freeing...

5b185639 06/03/2011 02:34 pm Alexander Graf

s390x: fix cksm instruction

The cksm instruction was implemented incorrectly, rendering UDP and TCP
checksum calculation wrong, making an emulated s390x Linux guest break
in most networking operations.

This patch fixes odd end checksum calculation, takes the input register...

be82ee2a 06/03/2011 02:34 pm Stefan Weil

target-s390x: Fix wrong argument in call of tcg_gen_shl_i64()

tcg_gen_shl_i64 needs a 3rd argument of type TCGv_i64.
Set tmp4 so it can be used here.

v2:
Don't call tcg_const_i64() inside of the loop
because it creates additional code.

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

640239b2 06/03/2011 02:34 pm Stefan Weil

target-s390x: Fix duplicate call of tcg_temp_new_i64

tmp2 = tcg_temp_new_i64() is already executed unconditionally,
so there is no need to call it a second time for 64 bit hosts.

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

a825aefb 06/03/2011 02:34 pm Stefan Weil

target-s390x: Add missing tcg_temp_free_i64() in gen_jcc()

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

21de37a7 06/03/2011 02:34 pm Stefan Weil

target-s390x: Add missing tcg_temp_free_i64() in do_mh()

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

e32a1832 06/03/2011 02:34 pm Stefan Weil

target-s390x: Add missing tcg_temp_free_i64() in disas_b2()

Signed-off-by: Stefan Weil <>
Signed-off-by: Alexander Graf <>

View revisions

Also available in: Atom