target/mips: Split out gen_lxr
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 26 Feb 2023 03:40:49 +0000 (17:40 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 Mar 2023 13:44:37 +0000 (06:44 -0700)
commit0694cd597db9a8595aaf5da5afb5fd670dd358d7
tree719685bc9706c2bfcda1827a98a1c829311d1ba3
parent990c162e672dfadac7b4b3420c8fe08d88d13a3f
target/mips: Split out gen_lxr

Common subroutine for LDR and LWR.
Use tcg_constant_tl of ~1 instead of tcg_const_tl of 0x..fe.

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