summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/utils.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-10-04 11:59:56 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-10-15 12:13:59 -0300
commit2a99b2af2c3d3aa3751b005c575b8f0713abb88d (patch)
tree1e66d9b1759c50f064a18f58fa7c1c6ed8089173 /tests/functional/qemu_test/utils.py
parenteed4e3d4c62077866c83e8bda531c71e9de77203 (diff)
downloadfocaccia-qemu-2a99b2af2c3d3aa3751b005c575b8f0713abb88d.tar.gz
focaccia-qemu-2a99b2af2c3d3aa3751b005c575b8f0713abb88d.zip
target/loongarch: Use explicit little-endian LD/ST API
The LoongArch 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/loongarch/); \
    done

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20241004163042.85922-13-philmd@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test/utils.py')
0 files changed, 0 insertions, 0 deletions