qemu-s390x
[Top][All Lists]
Advanced

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

Re: [PATCH v2 08/25] hw/i386: Use explicit little-endian LD/ST API


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

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

Mechanical change using:

   $ end=le; \
     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/i386/); \
     done

Signed-off-by: Philippe Mathieu-Daudé<philmd@linaro.org>
---
  hw/i386/multiboot.c  | 36 ++++++++++++++++++------------------
  hw/i386/x86-common.c | 26 +++++++++++++-------------
  2 files changed, 31 insertions(+), 31 deletions(-)

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

r~



reply via email to

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