From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gf3Xx-0006DG-JO for qemu-devel@nongnu.org; Tue, 31 Oct 2006 19:01:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gf3Xt-00069R-RG for qemu-devel@nongnu.org; Tue, 31 Oct 2006 19:01:33 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gf3Xt-000698-I4 for qemu-devel@nongnu.org; Tue, 31 Oct 2006 19:01:29 -0500 Received: from [65.74.133.4] (helo=mail.codesourcery.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1Gf3Xs-0006DS-I4 for qemu-devel@nongnu.org; Tue, 31 Oct 2006 19:01:29 -0500 From: Paul Brook Subject: Re: [Qemu-devel] qemu vs gcc4 Date: Wed, 1 Nov 2006 00:01:21 +0000 References: <45391B22.1050608@palmsource.com> <200610311902.21898.paul@codesourcery.com> <200610311817.50024.rob@landley.net> In-Reply-To: <200610311817.50024.rob@landley.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611010001.23153.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org > Where's the shift? I think the above code means you generate an immediate > value (the 2), add it to R2 with the result going in a spill register, and > then add the spill register to R1, with the result going to R0. Should > that middle line be some kind of gen_op_lshift32() instead of > gen_op_add32()? Yes. > Do qregs ever get freed? (I'm guessing gen_new_qreg() lasts until the end > of the translated block, and then the next block has its own set of qregs?) Correct. Paul