From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjzPX-0000aH-Fq for qemu-devel@nongnu.org; Mon, 12 May 2014 19:13:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjzPO-0000CW-FS for qemu-devel@nongnu.org; Mon, 12 May 2014 19:13:31 -0400 Received: from mail-qc0-x232.google.com ([2607:f8b0:400d:c01::232]:42187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjzPO-0000CS-A7 for qemu-devel@nongnu.org; Mon, 12 May 2014 19:13:22 -0400 Received: by mail-qc0-f178.google.com with SMTP id l6so8807343qcy.9 for ; Mon, 12 May 2014 16:13:21 -0700 (PDT) Sender: Richard Henderson Message-ID: <5371558E.8000101@twiddle.net> Date: Mon, 12 May 2014 16:13:18 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1398713302-29657-1-git-send-email-rth@twiddle.net> <1398713302-29657-16-git-send-email-rth@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 15/16] tci: Define TCG_TARGET_INSN_UNIT_SIZE List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Stefan Weil , QEMU Developers On 05/09/2014 06:52 AM, Peter Maydell wrote: > though I note there are a number of functions that > use the pattern > > uint8_t *old_code_ptr = s->code_ptr; > [...emit stuff...] > old_code_ptr[1] = s->code_ptr - old_code_ptr; > > which could perhaps use tcg_insn_unit * rather than uint8_t * ? Yes, probably. There are quite a few changes I'd like to make to tci... r~