tcg/mips: Unify TCG_GUEST_BASE_REG tests
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 6 Aug 2021 17:13:46 +0000 (07:13 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 25 May 2023 13:57:50 +0000 (13:57 +0000)
commitf63eb2e59f45a2307f2e3f41e82e76f7abcd03f0
tree6ec8215987112252df6018f0d71da74d1805cd5c
parent43b4cd97131f3e99e6bf397ed3874855fac9cdff
tcg/mips: Unify TCG_GUEST_BASE_REG tests

In tcg_out_qemu_ld/st, we already check for guest_base matching int16_t.
Mirror that when setting up TCG_GUEST_BASE_REG in the prologue.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/mips/tcg-target.c.inc