target/xtensa: Prefer fast cpu_env() over slower CPU QOM cast macro
commit52049266e58e534739b9d72215930d6195dfd723
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 16:45:10 +0000 (29 17:45 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2024 11:04:25 +0000 (12 12:04 +0100)
treeb92ac9f47dcf4b17cc15ad8cd438b37adfdc2248
parent39ac0bac99ac98e6e3cf7d3f8fd7958cc342175d
target/xtensa: Prefer fast cpu_env() over slower CPU QOM cast macro

Mechanical patch produced running the command documented
in scripts/coccinelle/cpu_env.cocci_template header.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240129164514.73104-29-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/xtensa/cpu.c
target/xtensa/dbg_helper.c
target/xtensa/exc_helper.c
target/xtensa/gdbstub.c
target/xtensa/helper.c
target/xtensa/translate.c