From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:35040) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNUBG-0002eY-Bc for qemu-devel@nongnu.org; Fri, 20 May 2011 14:12:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNUBF-0007xx-MT for qemu-devel@nongnu.org; Fri, 20 May 2011 14:12:10 -0400 Received: from mail-pv0-f173.google.com ([74.125.83.173]:47928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNUBF-0007xr-FU for qemu-devel@nongnu.org; Fri, 20 May 2011 14:12:09 -0400 Received: by pvg3 with SMTP id 3so2223184pvg.4 for ; Fri, 20 May 2011 11:12:08 -0700 (PDT) Sender: Richard Henderson Message-ID: <4DD6AEF4.2040502@twiddle.net> Date: Fri, 20 May 2011 11:12:04 -0700 From: Richard Henderson MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 1/6] Add TCG optimizations stub List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Batuzov Cc: mj.mccormack@samsung.com, qemu-devel@nongnu.org, zhur@ispras.ru On 05/20/2011 05:39 AM, Kirill Batuzov wrote: > + i = (op == INDEX_op_call) ? > + (args[0] >> 16) + (args[0] & 0xffff) + 3 : > + def->nb_args; > + while (i) { > + *gen_args = *args; > + args++; > + gen_args++; > + i--; > + } If you use the correct NOP, i.e. nop vs nop[123n], then I don't believe you need to compact the arguments like this. r~