Skip to content

target/mips: Constify and remove TARGET_BIG_ENDIAN uses

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target/mips: Constify CPUMIPSTLBContext::map_address() handlerstarget/mips/internal.h target/mips/tcg/system/tlb_helper.c+6 -50 replies
2/5target/mips: Constify get_physical_address()target/mips/internal.h target/mips/system/physaddr.c+6 -50 replies
3/5target/mips: Constify read-only CPUMIPSState argumentstarget/mips/cpu.h target/mips/internal.h target/mips/system/cp0.c +4 more+10 -100 replies
4/5target/mips: Do not use TARGET_BIG_ENDIAN in cpu.ctarget/mips/cpu.c+8 -50 replies
5/5target/mips: Use CPU endianness in MSA LD.D / ST.D helperstarget/mips/tcg/msa_helper.c+14 -40 replies

Reviews trailers per patch

None of the 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPierrick BouvierRichard Henderson
SeriesR-b R-b
1/5
2/5
3/5
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] target/mips: Constify and remove TARGET_BIG_ENDIAN uses

Patches 1-3 progressively constify CPUState, then 4 and 5 remove dependencies on TARGET_BIG_ENDIAN.

Philippe Mathieu-Daudé (5):
target/mips: Constify CPUMIPSTLBContext::map_address() handlers target/mips: Constify get_physical_address() target/mips: Constify read-only CPUMIPSState arguments target/mips: Do not use TARGET_BIG_ENDIAN in cpu.c target/mips: Use CPU endianness in MSA LD.D / ST.D helpers

 target/mips/cpu.h                   |  4 ++--
 target/mips/internal.h              | 10 +++++-----
 target/mips/tcg/tcg-internal.h      |  2 +-
 target/mips/cpu.c                   | 13 ++++++++-----
 target/mips/system/cp0.c            |  2 +-
 target/mips/system/physaddr.c       |  9 +++++----
 target/mips/tcg/dsp_helper.c        |  2 +-
 target/mips/tcg/exception.c         |  2 +-
 target/mips/tcg/msa_helper.c        | 18 ++++++++++++++----
 target/mips/tcg/system/cp0_helper.c |  2 +-
 target/mips/tcg/system/tlb_helper.c |  9 +++++----
 11 files changed, 44 insertions(+), 29 deletions(-)
Signature · 1 line
2.55.0