]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/mips: Replace TARGET_WORDS_BIGENDIAN by cpu_is_bigendian()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 18 Aug 2021 10:13:02 +0000 (12:13 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 25 Aug 2021 11:02:14 +0000 (13:02 +0200)
commitbf78469cc8ddb117b6db4a353e59fb4664a96de4
tree3b1045e369113905d849e6f2258ab51baa15a3b1
parent0cfd392d7b419cdbe5284b8227d95ab3daaea860
target/mips: Replace TARGET_WORDS_BIGENDIAN by cpu_is_bigendian()

Add the inlined cpu_is_bigendian() function in "translate.h".

Replace the TARGET_WORDS_BIGENDIAN #ifdef'ry by calls to
cpu_is_bigendian().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210818164321.2474534-6-f4bug@amsat.org>
target/mips/tcg/nanomips_translate.c.inc
target/mips/tcg/translate.c
target/mips/tcg/translate.h