diff options
author | Philippe Mathieu-Daudé | 2021-08-18 12:10:53 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2021-08-25 13:02:14 +0200 |
commit | 5b3cc34c346e216c81f0750f586a016c33f2e08f (patch) | |
tree | 7c08d07f007a111c626be96ced9d28e66b983704 /.gitignore | |
parent | target/mips: Define gen_helper() macros in translate.h (diff) | |
download | qemu-5b3cc34c346e216c81f0750f586a016c33f2e08f.tar.gz qemu-5b3cc34c346e216c81f0750f586a016c33f2e08f.tar.xz qemu-5b3cc34c346e216c81f0750f586a016c33f2e08f.zip |
target/mips: Call cpu_is_bigendian & inline GET_OFFSET in ld/st helpers
The target endianess information is stored in the BigEndian
bit of the Config0 register in CP0.
As a first step, inline the GET_OFFSET() macro, calling
cpu_is_bigendian() to get the 'direction' of the offset.
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210818215517.2560994-2-f4bug@amsat.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions