On 11/25/25 23:49, Philippe Mathieu-Daudé wrote:
We only build the X86 targets 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=i386; \
     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 indentation in helper_vmload() to pass checkpatch.pl.

Signed-off-by: Philippe Mathieu-Daudé<[email protected]>
---
  target/i386/ops_sse.h                | 12 ++---
  target/i386/tcg/seg_helper.h         | 12 ++---
  linux-user/vm86.c                    |  4 +-
  target/i386/tcg/mem_helper.c         |  8 ++--
  target/i386/tcg/mpx_helper.c         | 28 +++++------
  target/i386/tcg/seg_helper.c         | 16 +++----
  target/i386/tcg/system/excp_helper.c |  8 ++--
  target/i386/tcg/system/svm_helper.c  | 69 +++++++++++++++-------------
  8 files changed, 80 insertions(+), 77 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to