diff options
author | Emilio G. Cota <cota@braap.org> | 2017-07-24 17:56:12 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2017-07-24 17:59:28 +0100 |
commit | e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996 (patch) | |
tree | 20306de3332ab2b0d484d092e92a0550607a1443 | |
parent | ce1d20aac8533357650774c2c240e30de87dc122 (diff) | |
download | qemu-e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996.zip qemu-e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996.tar.gz qemu-e4256c3cbf7eefebc0bc6e1f472c47c6dd20b996.tar.bz2 |
target/arm: fix TCG temp leak in aarch64 rev16
Fix a TCG temporary leak in the new aarch64 rev16 handling.
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | target/arm/translate-a64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/arm/translate-a64.c b/target/arm/translate-a64.c index 883e9df..58ed4c6 100644 --- a/target/arm/translate-a64.c +++ b/target/arm/translate-a64.c @@ -4051,6 +4051,7 @@ static void handle_rev16(DisasContext *s, unsigned int sf, tcg_gen_shli_i64(tcg_rd, tcg_rd, 8); tcg_gen_or_i64(tcg_rd, tcg_rd, tcg_tmp); + tcg_temp_free_i64(mask); tcg_temp_free_i64(tcg_tmp); } |