From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LIblc-0004ta-Pn for qemu-devel@nongnu.org; Thu, 01 Jan 2009 23:36:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LIblY-0004rG-Da for qemu-devel@nongnu.org; Thu, 01 Jan 2009 23:36:11 -0500 Received: from [199.232.76.173] (port=60975 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIblY-0004rD-7t for qemu-devel@nongnu.org; Thu, 01 Jan 2009 23:36:08 -0500 Received: from mx20.gnu.org ([199.232.41.8]:48725) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LIblX-0000hN-VA for qemu-devel@nongnu.org; Thu, 01 Jan 2009 23:36:08 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LIblV-0008U3-KN for qemu-devel@nongnu.org; Thu, 01 Jan 2009 23:36:05 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] tcg_temp_local_new should take no parameter Date: Fri, 2 Jan 2009 04:36:01 +0000 References: <761ea48b0901010519h798dac6at764a799ed630b81c@mail.gmail.com> <20090101143649.GA18298@miranda.arrow> In-Reply-To: <20090101143649.GA18298@miranda.arrow> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901020436.01777.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 > The SH4 emulation seems to use 'plain' TCGv mostly, expects it to be > 32-bits, and doesn't use the _tl macros, which I suppose is reasonable > for a 32-bit only target. > > Alpha, ARM and M68K do something similar (so I'll try to follow the > style that they use) but CRIS uses _tl a lot, which seems peculiar... The distinction only really makes sense on CPUs that have both 32-bit and 64-bit variants. Chances are that if a 64-bit arm/m68k/cris cpu were to exist then most of the code would need auditing anyway, so it's mostly a matter of personal preference which is used. Paul