diff options
author | Philippe Mathieu-Daudé | 2021-08-18 12:11:41 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-08-25 13:02:14 +0200 |
commit | 23a04dcdf6fa6b34933778b16ee8200027dc6e68 (patch) | |
tree | 24147efd79bed442f292c894b18d27c6a461d05b /trace | |
parent | target/mips: Replace GET_LMASK() macro by get_lmask(32) function (diff) | |
download | qemu-23a04dcdf6fa6b34933778b16ee8200027dc6e68.tar.gz qemu-23a04dcdf6fa6b34933778b16ee8200027dc6e68.tar.xz qemu-23a04dcdf6fa6b34933778b16ee8200027dc6e68.zip |
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>
Diffstat (limited to 'trace')
0 files changed, 0 insertions, 0 deletions