target/sparc: Prefer fast cpu_env() over slower CPU QOM cast macro
commit7797676965359a78817d35e5ed369f425e63e7db
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 16:45:08 +0000 (29 17:45 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2024 11:04:25 +0000 (12 12:04 +0100)
treeddba8beead089f4a8a859dc4ee84e0dcf0dd15b5
parent795bec96522356b5afb6c9ebb3ea0974fa3d4a27
target/sparc: 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>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240129164514.73104-27-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/sparc/cpu.c
target/sparc/gdbstub.c
target/sparc/int32_helper.c
target/sparc/int64_helper.c
target/sparc/ldst_helper.c
target/sparc/mmu_helper.c
target/sparc/translate.c