Skip to content

tcg: decouple tcg_target_long from pointer size

Richard Henderson qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 2 repliesIn review
  2. v118 patches 23 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18qtest: Fix FMT_timeval vs time_tqtest.c+4 -41 reply
2/18tcg: Change flush_icache_range arguments to uintptr_ttcg/aarch64/tcg-target.h tcg/arm/tcg-target.h tcg/hppa/tcg-target.h +7 more+17 -310 replies
3/18tcg: Change tcg_qemu_tb_exec return to uintptr_tcpu-exec.c tcg/ppc/tcg-target.h tcg/tcg.h +2 more+6 -70 replies
4/18tcg: Fix next_tb type in cpu_execcpu-exec.c+1 -10 replies
5/18tcg: Allow TCG_TARGET_REG_BITS to be specified independantlytcg/hppa/tcg-target.c tcg/hppa/tcg-target.h tcg/i386/tcg-target.h +3 more+37 -160 replies
6/18tcg: Define TCG_TYPE_PTR properlytcg/tcg.h+6 -30 replies
7/18tcg: Define TCG_ptr properlytcg/tcg.h+3 -30 replies
8/18tcg: Change frame pointer offsets to intptr_ttcg/tcg.c tcg/tcg.h+6 -80 replies
9/18tcg: Change memory offsets to intptr_ttcg/tcg.c tcg/tcg.h+8 -160 replies
10/18tcg: Change relocation offsets to intptr_ttcg/aarch64/tcg-target.c tcg/arm/tcg-target.c tcg/hppa/tcg-target.c +10 more+40 -390 replies
11/18tcg: Use uintptr_t in TCGHelperInfotcg/tcg.c tcg/tcg.h+4 -40 replies
12/18tcg: Change tcg_gen_exit_tb argument to uintptr_tinclude/exec/gen-icount.h target-alpha/translate.c target-arm/translate.c +15 more+25 -250 replies
13/18tcg: Change tcg_out_ld/st offset to intptr_ttcg/aarch64/tcg-target.c tcg/arm/tcg-target.c tcg/hppa/tcg-target.c +9 more+28 -280 replies
14/18tcg: Use appropriate types in tcg_reg_alloc_calltcg/tcg.c+3 -10 replies
15/18tcg: Fix jit debug for x32tcg/tcg.c+5 -50 replies
16/18tcg-i386: Use intptr_t appropriatelytcg/i386/tcg-target.c+19 -220 replies
17/18tcg-i386: Adjust tcg_out_tlb_load for x32tcg/i386/tcg-target.c+27 -141 reply
18/18configure: Allow x32 as a hostconfigure+18 -90 replies

Reviews trailers per patch

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

PatchAurelien Jarno
1/18R-b
2/18R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b
7/18R-b
8/18R-b
9/18R-b
10/18R-b
11/18R-b
12/18R-b
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 00/18] tcg: decouple tcg_target_long from pointer size

Changes v1-v2:
* Rebased vs master, resolving trivial conflicts

* Added a comment in patch 17, as requested during review

* For patch 1, Andreas and I appear to disagree on which change is more appropriate. I did re-word the commit message to better explain my rationale, but I did not change the patch itself.

The patch set is available from

git://github.com/rth7680/qemu.git x32

r~

Richard Henderson (18):
qtest: Fix FMT_timeval vs time_t
tcg: Change flush_icache_range arguments to uintptr_t
tcg: Change tcg_qemu_tb_exec return to uintptr_t
tcg: Fix next_tb type in cpu_exec
tcg: Allow TCG_TARGET_REG_BITS to be specified independantly
tcg: Define TCG_TYPE_PTR properly
tcg: Define TCG_ptr properly
tcg: Change frame pointer offsets to intptr_t
tcg: Change memory offsets to intptr_t
tcg: Change relocation offsets to intptr_t
tcg: Use uintptr_t in TCGHelperInfo
tcg: Change tcg_gen_exit_tb argument to uintptr_t
tcg: Change tcg_out_ld/st offset to intptr_t
tcg: Use appropriate types in tcg_reg_alloc_call
tcg: Fix jit debug for x32
tcg-i386: Use intptr_t appropriately
tcg-i386: Adjust tcg_out_tlb_load for x32
configure: Allow x32 as a host

 configure                     | 27 ++++++++-----
 cpu-exec.c                    |  4 +-
 include/exec/gen-icount.h     |  4 +-
 qtest.c                       |  8 ++--
 target-alpha/translate.c      |  8 ++--
 target-arm/translate.c        |  2 +-
 target-cris/translate.c       |  2 +-
 target-i386/translate.c       |  2 +-
 target-lm32/translate.c       |  2 +-
 target-m68k/translate.c       |  2 +-
 target-microblaze/translate.c |  2 +-
 target-mips/translate.c       |  2 +-
 target-moxie/translate.c      |  2 +-
 target-openrisc/translate.c   |  2 +-
 target-ppc/translate.c        |  2 +-
 target-s390x/translate.c      |  8 ++--
 target-sh4/translate.c        |  2 +-
 target-sparc/translate.c      |  2 +-
 target-unicore32/translate.c  |  2 +-
 target-xtensa/translate.c     |  2 +-
 tcg/aarch64/tcg-target.c      |  6 +--
 tcg/aarch64/tcg-target.h      |  3 +-
 tcg/arm/tcg-target.c          | 12 +++---
 tcg/arm/tcg-target.h          |  9 ++---
 tcg/hppa/tcg-target.c         | 14 ++++---
 tcg/hppa/tcg-target.h         |  7 +---
 tcg/i386/tcg-target.c         | 88 ++++++++++++++++++++++++-------------------
 tcg/i386/tcg-target.h         | 13 ++++---
 tcg/ia64/tcg-target.c         | 18 ++++-----
 tcg/ia64/tcg-target.h         |  3 +-
 tcg/mips/tcg-target.c         | 20 +++++-----
 tcg/mips/tcg-target.h         |  3 +-
 tcg/ppc/tcg-target.c          | 10 ++---
 tcg/ppc/tcg-target.h          |  2 +-
 tcg/ppc64/tcg-target.c        | 10 ++---
 tcg/s390/tcg-target.c         | 10 ++---
 tcg/s390/tcg-target.h         |  3 +-
 tcg/sparc/tcg-target.c        | 10 ++---
 tcg/sparc/tcg-target.h        | 20 ++++++----
 tcg/tcg-op.h                  |  2 +-
 tcg/tcg.c                     | 60 +++++++++++++----------------
 tcg/tcg.h                     | 60 +++++++++++++++--------------
 tcg/tci/tcg-target.c          |  6 +--
 tcg/tci/tcg-target.h          | 13 +++++--
 tci.c                         |  4 +-
 45 files changed, 257 insertions(+), 236 deletions(-)
Signature · 1 line
1.8.1.4