qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 02/13] tcg: add tcg_reg_sync()


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 02/13] tcg: add tcg_reg_sync()
Date: Thu, 27 Sep 2012 11:24:34 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 09/27/2012 10:15 AM, Aurelien Jarno wrote:
> Add a new function tcg_reg_sync() to synchronize the canonical location
> of a temp with the value in the associated register, but without freeing
> it. Rewrite tcg_reg_free() to first call tcg_reg_sync() and then to free
> the register.
> 
> Signed-off-by: Aurelien Jarno <address@hidden>

Reviewed-by: Richard Henderson <address@hidden>

> +/* sync register 'reg' by saving it to the corresponding temporary */
> +static inline void tcg_reg_sync(TCGContext *s, int reg)

Isn't the compiler good enough at deciding inlining?


r~



reply via email to

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