[PATCH 0/7] target/alpha: Remove unnecessary target_ulong uses

Philippe Mathieu-Daudé posted 7 patches 4 days, 9 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260202234550.34156-1-philmd@linaro.org
Maintainers: Richard Henderson <richard.henderson@linaro.org>
target/alpha/gdbstub.c   |   2 +-
target/alpha/helper.c    |  17 +--
target/alpha/machine.c   |   3 +-
target/alpha/translate.c | 228 ++++++++++++++++++++-------------------
target/alpha/meson.build |   2 +-
5 files changed, 129 insertions(+), 123 deletions(-)
[PATCH 0/7] target/alpha: Remove unnecessary target_ulong uses
Posted by Philippe Mathieu-Daudé 4 days, 9 hours ago
Replace target_ulong -> uint64_t / vaddr / hwaddr
and TCGv -> TCGv_i64.

Philippe Mathieu-Daudé (7):
  target/alpha: Avoid target-specific migration headers in machine.c
  target/alpha: Build system units in common source set
  target/alpha: Replace target_ulong -> uint64_t in gdb_write_register()
  target/alpha: Do not use target_ulong for trap arguments
  target/alpha: Do not use target_ulong for page table entries / indexes
  target/alpha: Remove target_ulong uses in get_physical_address()
  target/alpha: Expand TCGv type for 64-bit target

 target/alpha/gdbstub.c   |   2 +-
 target/alpha/helper.c    |  17 +--
 target/alpha/machine.c   |   3 +-
 target/alpha/translate.c | 228 ++++++++++++++++++++-------------------
 target/alpha/meson.build |   2 +-
 5 files changed, 129 insertions(+), 123 deletions(-)

-- 
2.52.0


Re: [PATCH 0/7] target/alpha: Remove unnecessary target_ulong uses
Posted by Richard Henderson 4 days, 5 hours ago
On 2/3/26 09:45, Philippe Mathieu-Daudé wrote:
> Philippe Mathieu-Daudé (7):
>    target/alpha: Avoid target-specific migration headers in machine.c
>    target/alpha: Build system units in common source set
>    target/alpha: Replace target_ulong -> uint64_t in gdb_write_register()
>    target/alpha: Do not use target_ulong for trap arguments
>    target/alpha: Do not use target_ulong for page table entries / indexes
>    target/alpha: Remove target_ulong uses in get_physical_address()
>    target/alpha: Expand TCGv type for 64-bit target

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~

Re: [PATCH 0/7] target/alpha: Remove unnecessary target_ulong uses
Posted by Philippe Mathieu-Daudé 4 days, 9 hours ago
On 3/2/26 00:45, Philippe Mathieu-Daudé wrote:
> Replace target_ulong -> uint64_t / vaddr / hwaddr
> and TCGv -> TCGv_i64.
> 
> Philippe Mathieu-Daudé (7):
>    target/alpha: Avoid target-specific migration headers in machine.c
>    target/alpha: Build system units in common source set

The following patches aren't required anymore for single-binary; I
just happen to write them before Pierrick's meson rework, they rebase
cleanly, and are good style cleanup IMHO, so I included them.

>    target/alpha: Replace target_ulong -> uint64_t in gdb_write_register()
>    target/alpha: Do not use target_ulong for trap arguments
>    target/alpha: Do not use target_ulong for page table entries / indexes
>    target/alpha: Remove target_ulong uses in get_physical_address()
>    target/alpha: Expand TCGv type for 64-bit target
> 
>   target/alpha/gdbstub.c   |   2 +-
>   target/alpha/helper.c    |  17 +--
>   target/alpha/machine.c   |   3 +-
>   target/alpha/translate.c | 228 ++++++++++++++++++++-------------------
>   target/alpha/meson.build |   2 +-
>   5 files changed, 129 insertions(+), 123 deletions(-)
>