Received: from eggs.gnu.org ([2001:4830:134:3::10]:40672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV0ob-000705-7a for qemu-devel@nongnu.org; Wed, 03 Aug 2016 14:22:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bV0oV-0003KN-9P for qemu-devel@nongnu.org; Wed, 03 Aug 2016 14:22:48 -0400 Received: from mail-qk0-x244.google.com ([2607:f8b0:400d:c09::244]:36453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV0oV-0003KJ-4C for qemu-devel@nongnu.org; Wed, 03 Aug 2016 14:22:43 -0400 Received: by mail-qk0-x244.google.com with SMTP id x185so1245766qkc.3 for ; Wed, 03 Aug 2016 11:22:43 -0700 (PDT) Sender: Richard Henderson References: <1466740107-15042-1-git-send-email-rth@twiddle.net> <1466740107-15042-8-git-send-email-rth@twiddle.net> <20160725151537.GA16129@aurel32.net> From: Richard Henderson Message-ID: Date: Wed, 3 Aug 2016 23:52:31 +0530 MIME-Version: 1.0 In-Reply-To: <20160725151537.GA16129@aurel32.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 7/9] tcg: Compress dead_temps and mem_temps into a single array List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org, mark.cave-ayland@ilande.co.uk, atar4qemu@gmail.com On 07/25/2016 08:45 PM, Aurelien Jarno wrote: >> > +#define TS_DEAD 1 >> > +#define TS_SYNC 2 > I am not sure that TS_SYNC is the best name for that. There we really > want to tell that at this moment in the TCG instruction stream the > operand is in memory. It doesn't implied it is synced. Maybe TS_MEM? > > The rest looks fine to me. The other alternative would have been to use > the TCGTempSet with the bitmap functions like in optimize.c, and use > only 2 bits per temp. That something that can be done later though. I changed the name to TS_MEM as suggested. r~