]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/m68k: Use explicit big-endian LD/ST API
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 4 Oct 2024 16:30:34 +0000 (13:30 -0300)
committerThomas Huth <thuth@redhat.com>
Mon, 7 Oct 2024 09:33:20 +0000 (11:33 +0200)
commit3a76d302047ce4518cedef7a9feca1238a00f97b
treef395be1645159c05093f3270e12ce73a8de81833
parent77b535cfdd1abf2d528fa04a83d925a8f8a86c92
target/m68k: Use explicit big-endian LD/ST API

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

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Message-ID: <20241004163042.85922-19-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/m68k/gdbstub.c
target/m68k/helper.c