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' target/i386/); \
     done

Signed-off-by: Philippe Mathieu-Daudé<phi...@linaro.org>
---
  target/i386/gdbstub.c                | 30 +++++++++++++-------------
  target/i386/tcg/sysemu/excp_helper.c |  4 ++--
  target/i386/xsave_helper.c           | 32 ++++++++++++++--------------
  3 files changed, 33 insertions(+), 33 deletions(-)

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

r~

Reply via email to