Commit 45d46ce8d9086d9ed18216925b2daa3136eb3e70
1 parent
a1516744
target-alpha: fix temp free for hw_st
No need to stop translation after hw_st. Signed-off-by: Tristan Gingold <gingold@adacore.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6925 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
2 deletions
target-alpha/translate.c
| @@ -2186,11 +2186,10 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn) | @@ -2186,11 +2186,10 @@ static always_inline int translate_one (DisasContext *ctx, uint32_t insn) | ||
| 2186 | /* Invalid */ | 2186 | /* Invalid */ |
| 2187 | goto invalid_opc; | 2187 | goto invalid_opc; |
| 2188 | } | 2188 | } |
| 2189 | - if (ra != 31) | 2189 | + if (ra == 31) |
| 2190 | tcg_temp_free(val); | 2190 | tcg_temp_free(val); |
| 2191 | tcg_temp_free(addr); | 2191 | tcg_temp_free(addr); |
| 2192 | } | 2192 | } |
| 2193 | - ret = 2; | ||
| 2194 | break; | 2193 | break; |
| 2195 | #endif | 2194 | #endif |
| 2196 | case 0x20: | 2195 | case 0x20: |