Received: from eggs.gnu.org ([208.118.235.92]:56598) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUCkF-0007SJ-OH for qemu-devel@nongnu.org; Mon, 22 Apr 2013 05:09:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUCk9-0003en-FW for qemu-devel@nongnu.org; Mon, 22 Apr 2013 05:09:07 -0400 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:56912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUCk9-0003eb-9J for qemu-devel@nongnu.org; Mon, 22 Apr 2013 05:09:01 -0400 Date: Mon, 22 Apr 2013 11:08:55 +0200 From: Aurelien Jarno Message-ID: <20130422090855.GJ16361@ohm.aurel32.net> References: <1364769305-3687-1-git-send-email-rth@twiddle.net> <1364769305-3687-10-git-send-email-rth@twiddle.net> <20130421103505.GC16361@ohm.aurel32.net> <51741AB9.1080206@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <51741AB9.1080206@twiddle.net> Subject: Re: [Qemu-devel] [PATCH v5 09/19] tcg-arm: Implement deposit for armv7 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On Sun, Apr 21, 2013 at 05:58:33PM +0100, Richard Henderson wrote: > On 2013-04-21 11:35, Aurelien Jarno wrote: > >Wouldn't it be better to only declare the zero constraint (using bfc in > >that case), and let the middle-end to load the constant in other cases? > > Possibly. I wondered if the work of the extra constraint was worth > the effort. I am not sure it would make the patch that much bigger. And it would prevent a constant to be reloaded twice, provided we fix/improve the constant propagation to avoid this. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net