qemu-e2k/target-s390x
Alexander Graf 5b185639c5 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
as input for the checksum and optimizes the overflow pieces by a bit.

Signed-off-by: Alexander Graf <agraf@suse.de>
2011-06-03 13:34:02 +02:00
..
cpu.h
exec.h
helper.c target-s390x: Fix build for non-linux hosts 2011-06-03 13:34:01 +02:00
helpers.h
kvm.c s390x: Fix debugging for unknown sigp order codes 2011-05-20 17:35:13 +02:00
machine.c
op_helper.c s390x: fix cksm instruction 2011-06-03 13:34:02 +02:00
translate.c s390x: free tmp explicitly in every opcode for disas_a5() 2011-06-03 13:34:02 +02:00