diff options
author | Peter Maydell | 2020-06-16 11:32:26 +0200 |
---|---|---|
committer | Peter Maydell | 2020-06-16 11:32:26 +0200 |
commit | a4f67e180def790ff0bbb33fc93bb6e80382f041 (patch) | |
tree | 0faf011bc08199b497494a9aea249cc9ac3efd19 | |
parent | target/arm: Add 'static' and 'const' annotations to VSHLL function arrays (diff) | |
download | qemu-a4f67e180def790ff0bbb33fc93bb6e80382f041.tar.gz qemu-a4f67e180def790ff0bbb33fc93bb6e80382f041.tar.xz qemu-a4f67e180def790ff0bbb33fc93bb6e80382f041.zip |
target/arm: Add missing TCG temp free in do_2shift_env_64()
In commit 37bfce81b10450071 we accidentally introduced a leak of a TCG
temporary in do_2shift_env_64(); free it.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
-rw-r--r-- | target/arm/translate-neon.inc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/translate-neon.inc.c b/target/arm/translate-neon.inc.c index 7c4888a80c..f2c241a87e 100644 --- a/target/arm/translate-neon.inc.c +++ b/target/arm/translate-neon.inc.c @@ -1329,6 +1329,7 @@ static bool do_2shift_env_64(DisasContext *s, arg_2reg_shift *a, neon_load_reg64(tmp, a->vm + pass); fn(tmp, cpu_env, tmp, constimm); neon_store_reg64(tmp, a->vd + pass); + tcg_temp_free_i64(tmp); } tcg_temp_free_i64(constimm); return true; |