On 3/9/19 4:34 PM, Philippe Mathieu-Daudé wrote:
> static TCGv gen_get_sr(DisasContext *s)
> {
> -TCGv ccr;
> -TCGv sr;
> +TCGv dest;
>
> -ccr = gen_get_ccr(s);
> -sr = tcg_temp_new();
> -tcg_gen_andi_i32(sr, QREG_SR, 0xffe0);
> -tcg_gen_or_i32(sr, sr, ccr);
> -t
Doing so we free one tcg_temp.
Signed-off-by: Philippe Mathieu-Daudé
---
target/m68k/translate.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/target/m68k/translate.c b/target/m68k/translate.c
index ea95d55a11..f43ac07b7f 100644
--- a/target/m68k/translate.c
++