提交 7d2aabe2 编写于 作者: P Peter Maydell 提交者: Aurelien Jarno

target-arm: Fix TCG temporary leaks for scalar VMULL

Fix a TCG temporary leak when translating 32-bit scalar VMULL.
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
上级 e1d177b9
...@@ -4157,10 +4157,12 @@ static inline void gen_neon_mull(TCGv_i64 dest, TCGv a, TCGv b, int size, int u) ...@@ -4157,10 +4157,12 @@ static inline void gen_neon_mull(TCGv_i64 dest, TCGv a, TCGv b, int size, int u)
case 4: case 4:
tmp = gen_muls_i64_i32(a, b); tmp = gen_muls_i64_i32(a, b);
tcg_gen_mov_i64(dest, tmp); tcg_gen_mov_i64(dest, tmp);
tcg_temp_free_i64(tmp);
break; break;
case 5: case 5:
tmp = gen_mulu_i64_i32(a, b); tmp = gen_mulu_i64_i32(a, b);
tcg_gen_mov_i64(dest, tmp); tcg_gen_mov_i64(dest, tmp);
tcg_temp_free_i64(tmp);
break; break;
default: abort(); default: abort();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册