From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLz3Z-0001XK-IF for qemu-devel@nongnu.org; Wed, 10 Oct 2012 12:22:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLz3P-0006ol-Tx for qemu-devel@nongnu.org; Wed, 10 Oct 2012 12:22:49 -0400 Received: from mail-pa0-f45.google.com ([209.85.220.45]:43338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLz3P-0006of-NR for qemu-devel@nongnu.org; Wed, 10 Oct 2012 12:22:39 -0400 Received: by mail-pa0-f45.google.com with SMTP id fb10so766042pad.4 for ; Wed, 10 Oct 2012 09:22:39 -0700 (PDT) Sender: Richard Henderson Message-ID: <5075A0CC.8090705@twiddle.net> Date: Wed, 10 Oct 2012 09:22:36 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1349812584-19551-1-git-send-email-aurelien@aurel32.net> <1349812584-19551-5-git-send-email-aurelien@aurel32.net> In-Reply-To: <1349812584-19551-5-git-send-email-aurelien@aurel32.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 04/26] tcg: sync output arguments on liveness request List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org On 10/09/2012 12:56 PM, Aurelien Jarno wrote: > Synchronize an output argument when requested by the liveness analysis. > This is needed so that the temp can be declared dead later. > > For that, add a new op_sync_args table in which each bit tells if the > corresponding output argument needs to be synchronized with the memory. > Pass it to the tcg_reg_alloc_* functions, and honor this bit. We need to > synchronize the argument before marking it as dead, and we have to make > sure all the infos about the temp are correctly filled. > > At the same time change some types from unsigned int to uint16_t when > passing op_dead_args. > > Signed-off-by: Aurelien Jarno Reviewed-by: Richard Henderson r~