From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JP0YH-0006Fn-0L for qemu-devel@nongnu.org; Tue, 12 Feb 2008 14:12:21 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JP0YF-0006Fa-JA for qemu-devel@nongnu.org; Tue, 12 Feb 2008 14:12:20 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JP0YF-0006FX-GI for qemu-devel@nongnu.org; Tue, 12 Feb 2008 14:12:19 -0500 Received: from nf-out-0910.google.com ([64.233.182.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JP0YF-0000lM-9a for qemu-devel@nongnu.org; Tue, 12 Feb 2008 14:12:19 -0500 Received: by nf-out-0910.google.com with SMTP id 30so1491156nfu.12 for ; Tue, 12 Feb 2008 11:12:17 -0800 (PST) Message-ID: Date: Tue, 12 Feb 2008 21:12:16 +0200 From: "Blue Swirl" Subject: Re: [Qemu-devel] [PATCH] simplify storing temporaries in env structure regardless of host/target long size In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: 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 On 2/12/08, Igor Kovalenko wrote: > This patch separates decision about storing temporaries in env > structure from target long size by introducing a macro > QEMU_TEMPORARY_IN_ENV > Makes it a bit easier to work around register allocation problems. > By default there is no change to generated code. I'd move env->t0/t1/t2 to CPU_COMMON and the T0/T1/T2 logic to hostregs_helper.h.