]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/i386: Use explicit little-endian LD/ST API
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 13 Dec 2025 17:58:11 +0000 (18:58 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 9 Feb 2026 19:51:52 +0000 (20:51 +0100)
commitc2e7579505bf62204d650bb3329d147d2df096bd
tree811b61ded6a09863be2fcf134b9fc4b71ce84023
parent6172a4257e84ba5fc9b818ea7797d17bd730ada4
target/i386: Use explicit little-endian LD/ST API

The x86 architecture uses little endianness. Directly use
the little-endian LD/ST API.

Mechanical change running:

  $ for a in uw w l q; do \
      sed -i -e "s/ld${a}_p(/ld${a}_le_p(/" \
        $(git grep -wlE '(ld|st)u?[wlq]_p' target/i386/);
    done

Coding style adapted manually.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20260204204103.46343-2-philmd@linaro.org>
target/i386/helper.c
target/i386/tcg/system/misc_helper.c