Home
last modified time | relevance | path

Searched hist:"5 b3cc34c346e216c81f0750f586a016c33f2e08f" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/mips/tcg/
H A Dldst_helper.cdiff 5b3cc34c346e216c81f0750f586a016c33f2e08f Wed Aug 18 05:10:53 CDT 2021 Philippe Mathieu-Daudé <f4bug@amsat.org> 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>