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
2010-05-22 08:02:12 +00:00
2010-06-15 09:41:59 +02:00
2010-06-10 00:09:49 +02:00
2010-05-22 08:00:52 +00:00
2010-01-13 17:14:16 -06:00
2010-06-11 18:15:35 +02:00
2010-06-09 12:35:18 +02:00
2010-05-14 10:55:58 -05:00
2010-06-11 20:37:51 +01:00
2010-06-09 23:37:36 +02:00
2010-05-07 16:28:10 +00:00
2010-05-20 21:04:47 +02:00
2010-03-06 23:09:28 +01:00
…
…
…
…
…
2009-09-25 19:53:21 +00:00
…
2010-06-14 11:12:53 -05:00
…
2010-04-09 18:55:56 +02:00
2010-04-09 18:55:56 +02:00
2010-06-15 09:41:59 +02:00
2010-05-31 20:55:23 +02:00
…
…
2010-02-07 02:03:50 +03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
…
…
2010-06-14 11:12:53 -05:00
2010-04-25 12:59:33 +00:00
2010-03-21 19:44:06 +00:00
2010-05-24 15:18:23 -05:00
2010-03-17 11:16:15 -05:00
…
…
2010-04-01 21:51:59 +02:00
2010-04-01 21:51:59 +02:00
2010-03-01 04:39:50 +00:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-06-13 19:00:50 +01:00
2010-05-19 15:24:17 +02:00
…
…
2010-06-14 11:12:53 -05:00
2010-03-29 19:24:00 +00:00
2009-12-17 18:12:04 +01:00
…
…
2010-05-22 08:02:12 +00:00
…
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2009-10-01 16:12:16 -05:00
2010-05-10 11:36:03 -05:00
2010-05-10 11:36:03 -05:00
2010-06-11 15:25:14 -03:00
2009-11-17 08:49:39 -06:00
2009-11-17 08:49:39 -06:00
2010-03-06 23:15:30 +01:00
2010-03-06 23:15:30 +01:00
2010-06-13 19:00:50 +01:00
…
2009-10-01 16:12:16 -05:00
…
2010-02-06 19:24:42 +01:00
2010-03-21 08:28:47 +00:00
2010-05-22 08:24:49 +00:00
2010-01-08 09:58:40 -06:00
2010-03-19 15:27:27 -05:00
…
…
…
2010-05-03 12:39:12 -05:00
2010-05-22 08:02:12 +00:00
2010-06-13 19:00:50 +01:00
2010-06-13 19:00:50 +01:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
…
…
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:39 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2009-10-27 12:28:59 -05:00
2010-06-15 09:41:59 +02:00
2010-05-29 02:27:35 +01:00
2010-06-04 11:43:39 +02:00
2009-10-01 16:12:16 -05:00
2010-06-15 09:41:59 +02:00
2010-05-17 10:20:04 +02:00
2010-05-19 12:45:54 -03:00
2010-03-29 19:24:00 +00:00
…
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2009-11-17 08:49:38 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-06-11 15:25:14 -03:00
2009-12-03 09:41:18 -06:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
2010-05-19 12:45:54 -03:00
…
…
2010-06-15 09:41:59 +02:00
2009-10-01 16:12:16 -05:00
2009-09-13 19:38:43 +00:00
2010-06-14 15:46:28 -05:00
2010-03-14 22:04:50 +01:00
…
…
…
2009-10-01 16:12:16 -05:00
…
2010-06-14 15:46:28 -05:00
2009-10-01 16:12:16 -05:00
2010-06-13 19:00:50 +01:00
…
2010-06-01 13:30:08 -05:00
2010-05-24 15:18:24 -05:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
S
Description
Original Xbox Emulator for Windows, macOS, and Linux (Active Development)
Readme GPL-2.0
705 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 82.3%
C++ 6.9%
Python 3.5%
Dylan 2.7%
Shell 1.5%
Other 2.9%