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 s390x: remove compatibility cc field 2011-05-20 17:35:12 +02:00
exec.h s390x: Enable s390x-softmmu target 2011-04-18 20:51:59 +02:00
helper.c target-s390x: Fix build for non-linux hosts 2011-06-03 13:34:01 +02:00
helpers.h s390x: Implement opcode helpers 2011-05-20 17:35:12 +02:00
kvm.c s390x: Fix debugging for unknown sigp order codes 2011-05-20 17:35:13 +02:00
machine.c Add support for S390x system emulation 2009-12-05 17:36:05 +01:00
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