target/nios2: Prefer fast cpu_env() over slower CPU QOM cast macro
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 29 Jan 2024 16:45:01 +0000 (17:45 +0100)
committerThomas Huth <thuth@redhat.com>
Tue, 12 Mar 2024 11:04:24 +0000 (12:04 +0100)
commit6fed7e43fa56553bb9ac9c807e8de8ade9522417
treeb87b3de3c3a01903e39115d6f637fc757e4e68b9
parent4c44a9805127d8f6f065d40fd9f9c65fcf75bcc2
target/nios2: 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-20-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/nios2/cpu.c
target/nios2/helper.c
target/nios2/nios2-semi.c
target/nios2/translate.c