Skip to content

target/openrisc: Remove all uses of target_[u]long types

Philippe Mathieu-Daudé qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest13 patches 7 repliesIn review
  2. v210 patches 11 repliesSuperseded
  3. v17 patches 9 repliesSuperseded

Changes in v3 from the cover letter

- Introduce mo_endian() helper

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13target/openrisc: Replace VMSTATE_UINTTL() -> VMSTATE_UINT32()target/openrisc/machine.c+2 -20 replies
2/13target/openrisc: Do not use target_ulong for @mr in MTSPR helpertarget/openrisc/sys_helper.c+1 -10 replies
3/13target/openrisc: Remove unused cpu_openrisc_map_address_*() handlerstarget/openrisc/cpu.h+0 -90 replies
4/13target/openrisc: Remove target_ulong use in raise_mmu_exception()target/openrisc/mmu.c+3 -40 replies
5/13target/openrisc: Use vaddr type for $pc jumpstarget/openrisc/translate.c+6 -60 replies
6/13target/openrisc: Remove 'TARGET_LONG_BITS != 32' dead codetarget/openrisc/translate.c+4 -290 replies
7/13target/openrisc: Explode MO_TExx -> MO_TE | MO_xxtarget/openrisc/translate.c+8 -81 reply
8/13target/openrisc: Conceal MO_TE within do_load()target/openrisc/translate.c+5 -41 reply
9/13target/openrisc: Conceal MO_TE within do_store()target/openrisc/translate.c+4 -21 reply
10/13target/openrisc: Introduce mo_endian() helpertarget/openrisc/translate.c+11 -41 reply
11/13target/openrisc: Replace MO_TE -> MO_BEtarget/openrisc/translate.c+1 -12 replies
12/13target/openrisc: Inline tcg_gen_trunc_i64_tl()target/openrisc/translate.c+3 -30 replies
13/13target/openrisc: Replace target_ulong -> uint32_ttarget/openrisc/cpu.h target/openrisc/fpu_helper.c target/openrisc/helper.h +3 more+228 -2230 replies

Reviews trailers per patch

All 13 patches have a Reviewed-by or Acked-by.

PatchAnton JohanssonRichard Henderson
1/13R-b R-b
2/13R-b R-b
3/13R-b R-b
4/13R-b R-b
5/13R-b R-b
6/13R-b
7/13R-b
8/13R-b
9/13R-b
10/13R-b
11/13R-b
12/13R-b R-b
13/13R-b R-b

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

Read the v3 thread

Cover letter [PATCH v3 00/13] target/openrisc: Remove all uses of target_[u]long types

Missing review: 7 -> 11

v3:
- Introduce mo_endian() helper

v2:
- Remove 'TARGET_LONG_BITS != 32' dead code
- Addressed Anton's review comments (MO_TE -> MO_BE)

Remove all the target_[u]long uses in OpenRISC frontend.

Based-on: <[email protected]>

Philippe Mathieu-Daudé (13):
target/openrisc: Replace VMSTATE_UINTTL() -> VMSTATE_UINT32() target/openrisc: Do not use target_ulong for @mr in MTSPR helper target/openrisc: Remove unused cpu_openrisc_map_address_*() handlers target/openrisc: Remove target_ulong use in raise_mmu_exception() target/openrisc: Use vaddr type for $pc jumps target/openrisc: Remove 'TARGET_LONG_BITS != 32' dead code target/openrisc: Explode MO_TExx -> MO_TE | MO_xx target/openrisc: Conceal MO_TE within do_load() target/openrisc: Conceal MO_TE within do_store() target/openrisc: Introduce mo_endian() helper target/openrisc: Replace MO_TE -> MO_BE
target/openrisc: Inline tcg_gen_trunc_i64_tl() target/openrisc: Replace target_ulong -> uint32_t

 target/openrisc/cpu.h        |  31 +--
 target/openrisc/helper.h     |   8 +-
 target/openrisc/fpu_helper.c |   8 +-
 target/openrisc/machine.c    |  20 +-
 target/openrisc/mmu.c        |   7 +-
 target/openrisc/sys_helper.c |   7 +-
 target/openrisc/translate.c  | 459 +++++++++++++++++------------------
 7 files changed, 260 insertions(+), 280 deletions(-)
Signature · 1 line
2.51.0