qemu/target/s390x
Philippe Mathieu-Daudé 2c6822cd59 target/s390x: Use env_archcpu() in handle_diag_308()
When CPUArchState* is available (here CPUS390XState*), we
can use the fast env_archcpu() macro to get ArchCPU* (here
S390CPU*). The QOM cast S390_CPU() macro will be slower when
building with --enable-qom-cast-debug.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20231009110239.66778-4-philmd@linaro.org>
2023-11-07 12:13:27 +01:00
..
kvm
tcg
arch_dump.c
cpu_features_def.h
cpu_features_def.h.inc
cpu_features.c
cpu_features.h
cpu_models_sysemu.c
cpu_models_user.c
cpu_models.c
cpu_models.h
cpu-dump.c
cpu-param.h
cpu-qom.h target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
cpu-sysemu.c
cpu.c
cpu.h target: Declare FOO_CPU_TYPE_NAME/SUFFIX in 'cpu-qom.h' 2023-11-07 12:13:27 +01:00
diag.c target/s390x: Use env_archcpu() in handle_diag_308() 2023-11-07 12:13:27 +01:00
gdbstub.c
gen-features.c
helper.c
helper.h
interrupt.c
ioinst.c
Kconfig
machine.c
meson.build
mmu_helper.c
s390x-internal.h
sigp.c
trace-events
trace.h