tcg: Fix register move type in tcg_out_ld_helper_ret
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 24 May 2023 19:59:12 +0000 (12:59 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 30 May 2023 16:51:11 +0000 (09:51 -0700)
commit723d3a276f3ea3efb4d4deb4c1150168db464dba
treefa8aa1ed07d261bb1ee90c2118b5244baad7fec4
parent7fe6cb68117ac856e03c93d18aca09de015392b0
tcg: Fix register move type in tcg_out_ld_helper_ret

The first move was incorrectly using TCG_TYPE_I32 while the second
move was correctly using TCG_TYPE_REG.  This prevents a 64-bit host
from moving all 128-bits of the return value.

Fixes: ebebea53ef8 ("tcg: Support TCG_TYPE_I128 in tcg_out_{ld,st}_helper_{args,ret}")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
tcg/tcg.c