[PATCH 00/12] target/tricore: Remove all uses of target_ulong types

Philippe Mathieu-Daudé posted 12 patches 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251010052141.42460-1-philmd@linaro.org
Maintainers: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
target/tricore/cpu.c       |    2 +-
target/tricore/helper.c    |    4 +-
target/tricore/op_helper.c |  219 +-
target/tricore/translate.c | 3969 ++++++++++++++++++------------------
4 files changed, 2107 insertions(+), 2087 deletions(-)
[PATCH 00/12] target/tricore: Remove all uses of target_ulong types
Posted by Philippe Mathieu-Daudé 1 month ago
Remove incorrect target_ulong uses, then for the rest
mechanically convert:

 - target_ulong -> uint32_t
 - TCGv -> TCGv_i32
 - tcg_temp_new() -> tcg_temp_new_i32()

Based-on: <20251010031745.37528-1-philmd@linaro.org>

Philippe Mathieu-Daudé (12):
  target/tricore: Remove target_ulong use in gen_goto_tb()
  target/tricore: Replace target_ulong -> vaddr with tlb_fill() callees
  target/tricore: Remove target_ulong use in translate_insn() handler
  target/tricore: Remove target_ulong use in gen_addi_d()
  target/tricore: Remove unnecessary cast to target_ulong
  target/tricore: Replace target_ulong -> uint32_t in op_helper.c
  target/tricore: Declare registers as TCGv_i32
  target/tricore: Inline tcg_gen_ld32u_tl()
  target/tricore: Expand TCG helpers for 32-bit target
  target/tricore: Pass DisasContext as first argument
  target/tricore: Un-inline various helpers
  target/tricore: Expand TCGv type for 32-bit target

 target/tricore/cpu.c       |    2 +-
 target/tricore/helper.c    |    4 +-
 target/tricore/op_helper.c |  219 +-
 target/tricore/translate.c | 3969 ++++++++++++++++++------------------
 4 files changed, 2107 insertions(+), 2087 deletions(-)

-- 
2.51.0


Re: [PATCH 00/12] target/tricore: Remove all uses of target_ulong types
Posted by Philippe Mathieu-Daudé 4 weeks, 1 day ago
On 10/10/25 07:21, Philippe Mathieu-Daudé wrote:
> Remove incorrect target_ulong uses, then for the rest
> mechanically convert:
> 
>   - target_ulong -> uint32_t
>   - TCGv -> TCGv_i32
>   - tcg_temp_new() -> tcg_temp_new_i32()
> 
> Based-on: <20251010031745.37528-1-philmd@linaro.org>
> 
> Philippe Mathieu-Daudé (12):
>    target/tricore: Remove target_ulong use in gen_goto_tb()
>    target/tricore: Replace target_ulong -> vaddr with tlb_fill() callees
>    target/tricore: Remove target_ulong use in translate_insn() handler
>    target/tricore: Remove target_ulong use in gen_addi_d()
>    target/tricore: Remove unnecessary cast to target_ulong
>    target/tricore: Replace target_ulong -> uint32_t in op_helper.c
>    target/tricore: Declare registers as TCGv_i32
>    target/tricore: Inline tcg_gen_ld32u_tl()
>    target/tricore: Expand TCG helpers for 32-bit target
>    target/tricore: Pass DisasContext as first argument
>    target/tricore: Un-inline various helpers
>    target/tricore: Expand TCGv type for 32-bit target

Series queued, thanks.