]> git.proxmox.com Git - mirror_qemu.git/commit
tcg/mips: Fix TCG_TARGET_CALL_RET_I128 for o32 abi
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 8 Apr 2023 04:37:03 +0000 (05:37 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 10 Apr 2023 15:29:24 +0000 (08:29 -0700)
commit25acc3f279d215250d0628e592ed7557a88aa3a7
tree62f8bab4c857170591af257e01919b98df35633e
parent7d9e1ee424b06a43708be02474e6714962cfee92
tcg/mips: Fix TCG_TARGET_CALL_RET_I128 for o32 abi

The return is by reference, not in 4 integer registers.

This error resulted in

  qemu-system-i386: tcg/mips/tcg-target.c.inc:140: \
    tcg_target_call_oarg_reg: Assertion `slot >= 0 && slot <= 1' failed.

Fixes: 5427a9a7604 ("tcg: Add TCG_TARGET_CALL_{RET,ARG}_I128")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/mips/tcg-target.h