[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-ppc] [Qemu-devel] [PATCH] ppc: Add support for 'mffsl' instruc

From: Richard Henderson
Subject: Re: [Qemu-ppc] [Qemu-devel] [PATCH] ppc: Add support for 'mffsl' instruction
Date: Wed, 14 Aug 2019 10:42:20 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

On 8/13/19 4:31 PM, Paul A. Clarke wrote:
> +        TCGv_i64 mask = tcg_const_i64(FP_MODE | FP_STATUS | FP_ENABLES);
> +        tcg_gen_and_i64(t0, t0, mask);

Better as

  tcg_gen_andi_i64(t0, t0, FP_MODE | FP_STATUS | FP_ENABLES);

You failed to free the temporary that you allocated here.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]