qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v2 17/25] hw/m68k: Use explicit big-endian LD/ST API


From: Richard Henderson
Subject: Re: [PATCH v2 17/25] hw/m68k: Use explicit big-endian LD/ST API
Date: Fri, 4 Oct 2024 18:29:11 -0700
User-agent: Mozilla Thunderbird

On 10/4/24 09:30, Philippe Mathieu-Daudé wrote:
The M68K architecture uses big endianness. Directly use
the big-endian LD/ST API.

Mechanical change using:

   $ end=be; \
     for acc in uw w l q tul; do \
       sed -i -e "s/ld${acc}_p(/ld${acc}_${end}_p(/" \
              -e "s/st${acc}_p(/st${acc}_${end}_p(/" \
         $(git grep -wlE '(ld|st)t?u?[wlq]_p' hw/m68k/); \
     done

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  hw/m68k/bootinfo.h  | 28 ++++++++++++++--------------
  hw/m68k/mcf5208.c   |  2 +-
  hw/m68k/next-cube.c |  2 +-
  hw/m68k/q800.c      |  4 ++--
  4 files changed, 18 insertions(+), 18 deletions(-)

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

r~



reply via email to

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