xemu/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 kill regs_to_env and env_to_regs 2010-01-19 16:31:02 -06:00
helper_regs.h Replace always_inline with inline 2009-08-16 09:06:54 +00:00
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: Remove unused label 2009-11-12 11:23:55 -06:00
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 find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex. 2007-09-17 08:09:54 +00:00
mfrom_table.c find -type f | xargs sed -i 's/[\t ]$//g' # on most files 2007-09-16 21:08:06 +00:00
op_helper.c target-ppc: fix RFI by clearing some bits of MSR 2010-05-31 19:17:44 +02:00
STATUS Update PowerPC emulation status file. 2007-10-25 21:38:16 +00:00
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