]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/tricore: Use little-endian variant of cpu_ld/st_data*()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 21 Nov 2025 08:26:22 +0000 (09:26 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 12 Jan 2026 22:47:57 +0000 (23:47 +0100)
commit4a4b272ae87f203c884040e0c53796f3addf9f31
treeb14b417ffd74df115e77c438ff1b33171fd2cf89
parenta8f70781d760e48e30e0bc9ed05343454563ef69
target/tricore: Use little-endian variant of cpu_ld/st_data*()

We only build the TriCore 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=tricore; \
    end=le; \
    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

Then adapting spaces style manually to pass checkpatch.pl.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-ID: <20251126202200.23100-6-philmd@linaro.org>
target/tricore/op_helper.c