]> xenbits.xensource.com Git - qemu-xen.git/commit
tcg: Introduce tcg_set_insn_start_param
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 10 Apr 2018 12:02:26 +0000 (13:02 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 21 Jun 2018 01:45:02 +0000 (20:45 -0500)
commitb17ed3e1d2746ae88863a074b4a1cb3a6b80fae8
tree5627a141a26428acb05193ca84fbcf2372fe1e05
parent44633a272b58cd03eecddd6c224e73f2a52e7ca1
tcg: Introduce tcg_set_insn_start_param

The parameters for tcg_gen_insn_start are target_ulong, which may be split
into two TCGArg parameters for storage in the opcode on 32-bit hosts.

Fixes the ARM target and its direct use of tcg_set_insn_param, which would
set the wrong argument in the 64-on-32 case.

Cc: qemu-stable@nongnu.org
Reported-by: alarson@ddci.com
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180410003558.2470-1-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 9743cd5736263e90d312b2c33bd739ffe1eae70d)
 Conflicts:
target/arm/translate.h
tcg/tcg.h
* rework to avoid functional dependency on 15fa08f

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target/arm/translate.h
tcg/tcg.h