qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/5] target/mips: Replace TARGET_WORDS_BIGENDIAN by cpu_is_bi


From: Richard Henderson
Subject: Re: [PATCH 5/5] target/mips: Replace TARGET_WORDS_BIGENDIAN by cpu_is_bigendian()
Date: Wed, 18 Aug 2021 07:25:35 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0

On 8/18/21 6:43 AM, Philippe Mathieu-Daudé wrote:
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>
---
  target/mips/tcg/translate.h              |  5 ++
  target/mips/tcg/translate.c              | 70 ++++++++++++------------
  target/mips/tcg/nanomips_translate.c.inc | 20 +++----
  3 files changed, 50 insertions(+), 45 deletions(-)


Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]