]> git.ipfire.org Git - thirdparty/qemu.git/commit
cpus: Prefer cached CpuClass over CPU_GET_CLASS() macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 21 Jan 2025 11:12:35 +0000 (12:12 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 9 Mar 2025 16:00:47 +0000 (17:00 +0100)
commit30e76638eb35ffe88e95cca2b5af952c14dc336d
tree9a522a6d151abe32538b004dd99cba797739b5cd
parent43610f3184f846da948e8ab9dbc0c5de1e9bde79
cpus: Prefer cached CpuClass over CPU_GET_CLASS() macro

CpuState caches its CPUClass since commit 6fbdff87062
("cpu: cache CPUClass in CPUState for hot code paths"),
use it.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20250122093028.52416-5-philmd@linaro.org>
cpu-common.c
hw/core/cpu-common.c
hw/core/cpu-system.c
include/hw/core/cpu.h