mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-28 15:14:37 -07:00
The class cast checkers are quite expensive and always on (unlike the dynamic case who's checks are gated by CONFIG_QOM_CAST_DEBUG). To avoid the overhead of repeatedly checking something which should never change we cache the CPUClass reference for use in the hot code paths. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20220811151413.3350684-3-alex.bennee@linaro.org> Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20220923084803.498337-3-clg@kaod.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> |
||
|---|---|---|
| .. | ||
| accel-cpu.h | ||
| cpu.h | ||
| generic-loader.h | ||
| split-irq.h | ||
| sysbus-fdt.h | ||
| sysemu-cpu-ops.h | ||
| tcg-cpu-ops.h | ||