diff options
| author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-08-18 12:10:53 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-08-25 13:02:14 +0200 |
| commit | 5b3cc34c346e216c81f0750f586a016c33f2e08f (patch) | |
| tree | 7c08d07f007a111c626be96ced9d28e66b983704 /scripts | |
| parent | 761533fc9a8df2e7d276b7e1fc22cad7d0fd0352 (diff) | |
| download | focaccia-qemu-5b3cc34c346e216c81f0750f586a016c33f2e08f.tar.gz focaccia-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 'scripts')
0 files changed, 0 insertions, 0 deletions