qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v2 23/25] target/s390x: Use explicit big-endian LD/ST API


From: Thomas Huth
Subject: Re: [PATCH v2 23/25] target/s390x: Use explicit big-endian LD/ST API
Date: Mon, 7 Oct 2024 07:57:03 +0200
User-agent: Mozilla Thunderbird

On 04/10/2024 18.30, Philippe Mathieu-Daudé wrote:
The S390X 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' target/s390x/); \
     done

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
  target/s390x/gdbstub.c | 34 +++++++++++++++++-----------------
  target/s390x/ioinst.c  |  2 +-
  2 files changed, 18 insertions(+), 18 deletions(-)

Reviewed-by: Thomas Huth <thuth@redhat.com>




reply via email to

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