On 19/12/25 19:43, Philippe Mathieu-Daudé wrote:
We only build the Hexagon target using little endianness order, therefore the cpu_ld/st_data*() definitions expand to the little endian declarations. Use the explicit little-endian variants.Mechanical change running: $ tgt=hexagon; \ end=be; \ for op in data mmuidx_ra; do \ for ac in uw sw l q; do \ sed -i -e "s/cpu_ld${ac}_${op}/cpu_ld${ac}_${end}_${op}/" \ $(git grep -l cpu_ target/${tgt}/); \ done; for ac in w l q; do \ sed -i -e "s/cpu_st${ac}_${op}/cpu_st${ac}_${end}_${op}/" \ $(git grep -l cpu_ target/${tgt}/); \ done; done Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- target/hexagon/op_helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
I did something wrong while rebasing... Part of the original patch is missing: https://lore.kernel.org/qemu-devel/[email protected]/ I'll repost.
