From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:47732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THIlK-0003qO-Sj for qemu-devel@nongnu.org; Thu, 27 Sep 2012 14:24:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THIlJ-0000Su-MG for qemu-devel@nongnu.org; Thu, 27 Sep 2012 14:24:38 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:51847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THIlJ-0000Sm-B0 for qemu-devel@nongnu.org; Thu, 27 Sep 2012 14:24:37 -0400 Received: by padfb10 with SMTP id fb10so1574716pad.4 for ; Thu, 27 Sep 2012 11:24:36 -0700 (PDT) Sender: Richard Henderson Message-ID: <506499E2.5080708@twiddle.net> Date: Thu, 27 Sep 2012 11:24:34 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1348766113-18373-1-git-send-email-aurelien@aurel32.net> <1348766113-18373-3-git-send-email-aurelien@aurel32.net> In-Reply-To: <1348766113-18373-3-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 02/13] tcg: add tcg_reg_sync() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org 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 Reviewed-by: Richard Henderson > +/* 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~