target/mips: Introduce mo_endian() helper
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 26 Sep 2024 16:40:58 +0000 (18:40 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 15 Oct 2024 15:16:28 +0000 (12:16 -0300)
commit96ccd8534f8b7d3198621f0aad4690108eb15ff1
tree1404c5d7a00514fe06520e098ba5e152366a20a6
parentd74fbe0fbdca05407190fbffb41c1dac795850ea
target/mips: Introduce mo_endian() helper

Introduce mo_endian() which returns the endian MemOp
corresponding to the vCPU DisasContext.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241010215015.44326-10-philmd@linaro.org>
target/mips/tcg/translate.h