target/arm: Fix early free of TCG temp in handle_simd_shift_fpint_conv()
handle_simd_shift_fpint_conv() was accidentally freeing the TCG temporary tcg_fpstatus too early, before the last use of it. Move the free down to where it belongs. Signed-off-by: Wentao_Liang <Wentao_Liang_g@163.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> [PMM: cleaned up commit message] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
0dc71c701c
commit
23d5acf3d4
@ -9045,9 +9045,9 @@ static void handle_simd_shift_fpint_conv(DisasContext *s, bool is_scalar,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tcg_temp_free_ptr(tcg_fpstatus);
|
|
||||||
tcg_temp_free_i32(tcg_shift);
|
tcg_temp_free_i32(tcg_shift);
|
||||||
gen_helper_set_rmode(tcg_rmode, tcg_rmode, tcg_fpstatus);
|
gen_helper_set_rmode(tcg_rmode, tcg_rmode, tcg_fpstatus);
|
||||||
|
tcg_temp_free_ptr(tcg_fpstatus);
|
||||||
tcg_temp_free_i32(tcg_rmode);
|
tcg_temp_free_i32(tcg_rmode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user