qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/6] target: Use env_archcpu() instead of ARCH_CPU(env_cpu(en


From: Richard Henderson
Subject: Re: [PATCH 0/6] target: Use env_archcpu() instead of ARCH_CPU(env_cpu(env))
Date: Tue, 10 Oct 2023 10:06:22 -0700
User-agent: Mozilla Thunderbird

On 10/9/23 04:02, Philippe Mathieu-Daudé wrote:
When we have a CPUArchState* pointer we can directly get the
corresponding ArchCPU* pointer with env_archcpu(). No need to
use QOM cast which is slower due when building with
--enable-qom-cast-debug.

This series replace ARCH_CPU(env_cpu(env)) by env_archcpu(env)
when possible.

Philippe Mathieu-Daudé (6):
   target/ppc: Use env_archcpu() in helper_book3s_msgsndp()
   target/riscv: Use env_archcpu() in [check_]nanbox()
   target/s390x: Use env_archcpu() in handle_diag_308()
   target/xtensa: Use env_archcpu() in update_c[compare|count]()
   target/i386/hvf: Use x86_cpu in simulate_[rdmsr|wrmsr]()
   target/i386: Use env_archcpu() in simulate_[rdmsr/wrmsr]()

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


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]