qemu-e2k/target-ppc
Richard Henderson 2bece2c883 tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts.
Some hosts (amd64, ia64) have an ABI that ignores the high bits
of the 64-bit register when passing 32-bit arguments.  Others
require the value to be properly sign-extended for the type.
I.e. "int32_t" must be sign-extended and "uint32_t" must be
zero-extended to 64-bits.

To effect this, extend the "sizemask" parameter to tcg_gen_callN
to include the signedness of the type of each parameter.  If the
tcg target requires it, extend each 32-bit argument into a 64-bit
temp and pass that to the function call.

This ABI feature is required by sparc64, ppc64 and s390x.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2010-06-16 11:29:11 +02:00
..
cpu.h Target specific usermode cleanup 2010-03-12 18:44:24 +00:00
exec.h
helper_regs.h
helper.c target-ppc: remove useless line 2010-05-31 19:18:25 +02:00
helper.h tcg: Optionally sign-extend 32-bit arguments for 64-bit hosts. 2010-06-16 11:29:11 +02:00
kvm_ppc.c
kvm_ppc.h PPC: tell the guest about the time base frequency 2010-02-14 16:10:54 +02:00
kvm.c PPC/KVM: make iothread work 2010-05-18 20:21:00 +02:00
machine.c KVM: Rework VCPU state writeback API 2010-03-04 00:29:28 -03:00
mfrom_table_gen.c
mfrom_table.c
op_helper.c target-ppc: fix RFI by clearing some bits of MSR 2010-05-31 19:17:44 +02:00
STATUS
translate_init.c target-ppc: generic PowerPC TBL 2010-03-26 23:37:23 +01:00
translate.c Fix %lld or %llx printf format use 2010-05-22 08:02:12 +00:00