]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Use explicit big-endian LD/ST API
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 4 Oct 2024 16:30:39 +0000 (13:30 -0300)
committerThomas Huth <thuth@redhat.com>
Mon, 7 Oct 2024 09:33:20 +0000 (11:33 +0200)
commit1d94eafdb528f8ca763e10269e734f3bc2a4825b
tree3452f7e8331ec2f02936eb3a79d1ed9041615436
parenta0bc3cefe287cdaf604817e0477bb03a04b88b34
target/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' target/s390x/); \
    done

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20241004163042.85922-24-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/gdbstub.c
target/s390x/ioinst.c