Searched hist:"23 a04dcdf6fa6b34933778b16ee8200027dc6e68" (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/mips/tcg/ |
H A D | ldst_helper.c | diff 23a04dcdf6fa6b34933778b16ee8200027dc6e68 Wed Aug 18 05:11:41 CDT 2021 Philippe Mathieu-Daudé <f4bug@amsat.org> target/mips: Replace GET_LMASK64() macro by get_lmask(64) function
The target endianess information is stored in the BigEndian bit of the Config0 register in CP0.
Replace the GET_LMASK() macro by an inlined get_lmask() function, passing CPUMIPSState and the word size as argument.
We can remove another use of the TARGET_WORDS_BIGENDIAN definition.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20210818215517.2560994-4-f4bug@amsat.org>
|