OSDN Git Service

tcg: Use TCG_CALL_ARG_EVEN for TCI special case
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 17 Oct 2022 05:55:56 +0000 (15:55 +1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 5 Jan 2023 19:41:29 +0000 (11:41 -0800)
commite2a9dd6b6b50f678b13cfdf55d3997f16c7f96b0
tree68add6e56ac0bbd958e480efdd9f4a2201e822ab
parenteb8b0224fc542120e4071f260d031278ac197155
tcg: Use TCG_CALL_ARG_EVEN for TCI special case

Change 32-bit tci TCG_TARGET_CALL_ARG_I32 to TCG_CALL_ARG_EVEN, to
force 32-bit values to be aligned to 64-bit.  With a small reorg
to the argument processing loop, this neatly replaces an ifdef for
CONFIG_TCG_INTERPRETER.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c
tcg/tci/tcg-target.h