Received: from eggs.gnu.org ([2001:4830:134:3::10]:37282) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnYLT-0002nB-9M for qemu-devel@nongnu.org; Fri, 23 Sep 2016 17:49:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnYLP-0005h4-4M for qemu-devel@nongnu.org; Fri, 23 Sep 2016 17:49:22 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:48554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnYLO-0005ce-UP for qemu-devel@nongnu.org; Fri, 23 Sep 2016 17:49:19 -0400 Date: Fri, 23 Sep 2016 21:49:05 +0000 From: Joseph Myers In-Reply-To: <26c11fe3-9992-2d41-264d-1840bb247b3c@twiddle.net> Message-ID: References: <26c11fe3-9992-2d41-264d-1840bb247b3c@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: Re: [Qemu-devel] [PATCH] tcg: increase MAX_OP_PER_INSTR to 395 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org, Peter Maydell On Fri, 23 Sep 2016, Richard Henderson wrote: > While increasing the max per insn is indeed one way to approach this, aarch64 > is being remarkably inefficient in this case. With the following, I see a > reduction from 387 ops to 261 ops; for a 64-bit host, the reduction is from > 258 ops to 195 ops. 261 ops plus ops generated in gen_intermediate_code_a64 after the loop plus ops from optimization may still require an increase from 266, of course (I don't know how to bound the number of ops space must still be available for after translating an instruction has resulted in tcg_op_buf_full() being true, but my testing had cases where it was at least 8). -- Joseph S. Myers joseph@codesourcery.com