OSDN Git Service

target/arm: Drop new_tmp_a64_zero
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 25 Feb 2023 03:18:52 +0000 (17:18 -1000)
committerRichard Henderson <richard.henderson@linaro.org>
Sun, 5 Mar 2023 21:44:07 +0000 (13:44 -0800)
commit2503e60d128a92324bf1f780c11be4f15f882e42
treead5bdf17f8879fd15732b7b785785ad006c57d5e
parent6980b80d59183e37d86c50bb0b9f99e15b347e05
target/arm: Drop new_tmp_a64_zero

Only the use within cpu_reg requires a writable temp,
so inline new_tmp_a64_zero there.  All other uses are
fine with a constant temp, so use tcg_constant_i64(0).

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/tcg/translate-a64.c
target/arm/tcg/translate-a64.h