From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34290 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEnD8-0004VZ-FY for qemu-devel@nongnu.org; Wed, 19 May 2010 13:37:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEnD6-00028e-U4 for qemu-devel@nongnu.org; Wed, 19 May 2010 13:37:38 -0400 Received: from hall.aurel32.net ([88.191.82.174]:36880) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEnD6-00028G-9g for qemu-devel@nongnu.org; Wed, 19 May 2010 13:37:36 -0400 Date: Wed, 19 May 2010 08:46:30 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 01/22] tcg-i386: Allocate call-saved registers first. Message-ID: <20100519064630.GA7242@ohm.aurel32.net> References: <37339e7292570104fa1a5839a84f0737b8aec3e6.1272479073.git.rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <37339e7292570104fa1a5839a84f0737b8aec3e6.1272479073.git.rth@twiddle.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On Tue, Apr 13, 2010 at 03:23:53PM -0700, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > tcg/i386/tcg-target.c | 13 +++++++++---- > 1 files changed, 9 insertions(+), 4 deletions(-) Thanks, applied. > diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c > index e684b33..f5c24f7 100644 > --- a/tcg/i386/tcg-target.c > +++ b/tcg/i386/tcg-target.c > @@ -36,16 +36,21 @@ static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = { > #endif > > static const int tcg_target_reg_alloc_order[] = { > - TCG_REG_EAX, > - TCG_REG_EDX, > - TCG_REG_ECX, > TCG_REG_EBX, > TCG_REG_ESI, > TCG_REG_EDI, > TCG_REG_EBP, > + TCG_REG_ECX, > + TCG_REG_EDX, > + TCG_REG_EAX, > +}; > + > +static const int tcg_target_call_iarg_regs[3] = { > + TCG_REG_EAX, > + TCG_REG_EDX, > + TCG_REG_ECX > }; > > -static const int tcg_target_call_iarg_regs[3] = { TCG_REG_EAX, TCG_REG_EDX, TCG_REG_ECX }; > static const int tcg_target_call_oarg_regs[2] = { TCG_REG_EAX, TCG_REG_EDX }; > > static uint8_t *tb_ret_addr; > -- > 1.6.6.1 > > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net