From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTudl-0004P4-6r for qemu-devel@nongnu.org; Thu, 23 Jul 2009 05:31:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTude-0004NK-HE for qemu-devel@nongnu.org; Thu, 23 Jul 2009 05:31:04 -0400 Received: from [199.232.76.173] (port=46046 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTude-0004Mm-Bl for qemu-devel@nongnu.org; Thu, 23 Jul 2009 05:30:58 -0400 Received: from mx20.gnu.org ([199.232.41.8]:30106) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTudd-00078Z-4S for qemu-devel@nongnu.org; Thu, 23 Jul 2009 05:30:57 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTudb-0007pP-DU for qemu-devel@nongnu.org; Thu, 23 Jul 2009 05:30:55 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] RFC: TCG constant propagation. Date: Thu, 23 Jul 2009 10:30:49 +0100 References: <5b31733c0907230208o7374ad68uf6e4438a5c5a41d5@mail.gmail.com> <761ea48b0907230225g77d7d0e6q6e1fd8af302ed795@mail.gmail.com> In-Reply-To: <761ea48b0907230225g77d7d0e6q6e1fd8af302ed795@mail.gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907231030.50519.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Desnogues Cc: Filip Navara , qemu-devel@nongnu.org On Thursday 23 July 2009, Laurent Desnogues wrote: > On Thu, Jul 23, 2009 at 11:08 AM, Filip Navara wrote: > > Also it looks that the actual code size is worse for TCG ARM target > > with this optimization. To mitigate it I propose the other attached > > patch which uses the barrel shifter for more optimal generation of the > > "movi" operation. I can't test it, so any help is welcome. > > - the rotation amount is multiplied by 2 before being applied to the > 8-bit immediate field. This is compensated for by the later << 7 Paul