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

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' hw/s390x/); \
    done

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20241004163042.85922-23-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/ipl.c
hw/s390x/s390-pci-inst.c