]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/tci: Add TCG_TARGET_CALL_{RET,ARG}_I128
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 21 Oct 2022 00:47:54 +0000 (10:47 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 4 Feb 2023 16:19:42 +0000 (06:19 -1000)
commite9709e17ac88f16c60004c4160c9a131d36ed564
tree05ef76aa676a95fd3c8325090e5ba0035eead71c
parent896c76e6ba5d9a3444fb8528fdc407747ecc82f2
tcg/tci: Add TCG_TARGET_CALL_{RET,ARG}_I128

Fill in the parameters for libffi for Int128.
Adjust the interpreter to allow for 16-byte return values.
Adjust tcg_out_call to record the return value length.

Call parameters are no longer all the same size, so we
cannot reuse the same call_slots array for every function.
Compute it each time now, but only fill in slots required
for the call we're about to make.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c
tcg/tci.c
tcg/tci/tcg-target.c.inc
tcg/tci/tcg-target.h