From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfqJo-0003WL-09 for qemu-devel@nongnu.org; Fri, 24 May 2013 07:38:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfqJg-0008TI-Cp for qemu-devel@nongnu.org; Fri, 24 May 2013 07:37:55 -0400 Received: from cantor2.suse.de ([195.135.220.15]:46985 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfqJg-0008T3-7Z for qemu-devel@nongnu.org; Fri, 24 May 2013 07:37:48 -0400 Message-ID: <519F5107.1060200@suse.de> Date: Fri, 24 May 2013 13:37:43 +0200 From: =?ISO-8859-15?Q?Andreas_F=E4rber?= MIME-Version: 1.0 References: <1366705016-30471-1-git-send-email-lig.fnst@cn.fujitsu.com> In-Reply-To: <1366705016-30471-1-git-send-email-lig.fnst@cn.fujitsu.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [update][PATCH 00/12] target-i386: remove some macros List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: liguang Cc: peter.maydell@linaro.org, ehabkost@redhat.com, qemu-devel@nongnu.org, blauwirbel@gmail.com, pbonzini@redhat.com, imammedo@redhat.com, rth@twiddle.net Am 23.04.2013 10:16, schrieb liguang: > remove macros EAX, EBX, ECX, EDX, EBP, ESP, ESI, EDI, EIP, DF > as suggested by Richard Henderson >=20 > Li Guang (12) > target-i386/helper: remove EAX macro > target-i386/helper: remove EBX macro > target-i386/helper: remove ECX macro > target-i386/helper: remove EDX macro > target-i386/helper: remove EBP macro > target-i386/helper: remove ESP macro > target-i386/helper: remove ESI macro > target-i386/helper: remove EDI macro > target-i386/helper: remove EIP macro > target-i386/helper: remove DF macro > target-i386/helper: remove redundant env->eip assignment > target-i386: fix over 80 chars warnings Hard Freeze is over, so more time to look into refactorings: There's one thing to be aware of here, macros would make it easier to transition from CPUX86State to X86CPU fields. However I am guessing that all these registers are accessed by TCG code via offsets from cpu_env - please verify that. If so, Reviewed-by: Andreas F=E4rber However, it would be nice if you could fix the \ alignment in patch 06/12 or in the cleanup patch 12/12. Regards, Andreas --=20 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 N=FCrnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imend=F6rffer; HRB 16746 AG N=FCrnbe= rg