From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:37447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxkeM-0005HR-9T for qemu-devel@nongnu.org; Wed, 15 Feb 2012 14:36:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RxkeL-00062y-1E for qemu-devel@nongnu.org; Wed, 15 Feb 2012 14:36:22 -0500 Received: from mail-qw0-f45.google.com ([209.85.216.45]:55188) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RxkeK-00062s-Ro for qemu-devel@nongnu.org; Wed, 15 Feb 2012 14:36:20 -0500 Received: by qabg40 with SMTP id g40so3365599qab.4 for ; Wed, 15 Feb 2012 11:36:20 -0800 (PST) Sender: Richard Henderson Message-ID: <4F3C0930.7010407@twiddle.net> Date: Wed, 15 Feb 2012 11:36:16 -0800 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] i386: Remove REGPARM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Blue Swirl Cc: qemu-devel , Aurelien Jarno On 02/15/2012 10:11 AM, Blue Swirl wrote: > #if defined(CONFIG_SOFTMMU) > - int mem_index, s_bits, arg_idx; > + int mem_index, s_bits; > +#if TCG_TARGET_REG_BITS == 64 > + int arg_idx; > +#else > + int stack_adjust; > +#endif ... > - if (TCG_TARGET_REG_BITS == 64) { > - tcg_out_mov(s, (opc == 3 ? TCG_TYPE_I64 : TCG_TYPE_I32), ... > +#if TCG_TARGET_REG_BITS == 32 > + tcg_out_pushi(s, mem_index); Any particular reason you didn't continue with the C-if form, so that you could avoid the extra ifdeffery at the top there? r~