|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v2 18/25] target/m68k: Use explicit big-endian LD/ST API |
Date: | Fri, 4 Oct 2024 13:41:34 -0300 |
User-agent: | Mozilla Thunderbird |
On 4/10/24 18:30, Philippe Mathieu-Daudé wrote:
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>
Per v1: Reviewed-by: Thomas Huth <huth@tuxfamily.org>
--- target/m68k/gdbstub.c | 2 +- target/m68k/helper.c | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-)
[Prev in Thread] | Current Thread | [Next in Thread] |