From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeptQ-0007rm-KD for qemu-devel@nongnu.org; Wed, 23 Sep 2015 15:39:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZeptN-0008Ov-BR for qemu-devel@nongnu.org; Wed, 23 Sep 2015 15:39:52 -0400 Received: from mail-io0-x235.google.com ([2607:f8b0:4001:c06::235]:34655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZeptN-0008OC-5u for qemu-devel@nongnu.org; Wed, 23 Sep 2015 15:39:49 -0400 Received: by iofb144 with SMTP id b144so54273983iof.1 for ; Wed, 23 Sep 2015 12:39:48 -0700 (PDT) Sender: Richard Henderson References: <1442953507-4074-1-git-send-email-rth@twiddle.net> <1442953507-4074-24-git-send-email-rth@twiddle.net> From: Richard Henderson Message-ID: <56030001.2000909@twiddle.net> Date: Wed, 23 Sep 2015 12:39:45 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 23/25] tcg: Emit prologue to the beginning of code_gen_buffer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: =?UTF-8?Q?Alex_Benn=c3=a9e?= , QEMU Developers , Aurelien Jarno On 09/23/2015 12:28 PM, Peter Maydell wrote: >> - /* Steal room for the prologue at the end of the buffer. This ensures >> - (via the MAX_CODE_GEN_BUFFER_SIZE limits above) that direct branches >> - from TB's to the prologue are going to be in range. It also means >> - that we don't need to mark (additional) portions of the data segment >> - as executable. */ > > I take it we don't have any annoying targets with branch-forwards > ranges larger than their branch-backwards ranges... No, thankfully. r~