Searched hist:bcb9d2ea (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/target/xtensa/ |
H A D | op_helper.c | bcb9d2ea Mon Oct 09 05:36:48 CDT 2023 Philippe Mathieu-Daudé <philmd@linaro.org> target/xtensa: Use env_archcpu() in update_c[compare|count]()
When CPUArchState* is available (here CPUXtensaState*), we can use the fast env_archcpu() macro to get ArchCPU* (here XtensaCPU*). The QOM cast XTENSA_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-5-philmd@linaro.org>
|