From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUxR7-0003v4-QN for qemu-devel@nongnu.org; Tue, 01 Apr 2014 08:05:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WUxR0-0003cb-Pa for qemu-devel@nongnu.org; Tue, 01 Apr 2014 08:05:01 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:43484 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WUxR0-0003cH-KR for qemu-devel@nongnu.org; Tue, 01 Apr 2014 08:04:54 -0400 References: <1396052834-26834-1-git-send-email-rth@twiddle.net> <533838C8.80307@twiddle.net> From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: <533838C8.80307@twiddle.net> Date: Tue, 01 Apr 2014 13:05:22 +0100 Message-ID: <87ob0ls1a5.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 0/8] tcg: tidy the type of code_ptr List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Peter Maydell , QEMU Developers , Aurelien Jarno Richard Henderson writes: > On 03/29/2014 01:26 PM, Peter Maydell wrote: >> It seems like it might be worth abstracting out "give me the byte >> difference between these two code pointers" rather than having >> inline (uintptr_t)codeptr1 - (uintptr_t)codeptr2, but I dunno. > > Yeah, I dithered about that. I couldn't come up with a good name that > adequately described what I wanted that was really any shorter than just having > the casts. > >> Is there a better name than 'tcg_itype' ? Putting 'type' in the >> name of a type is a bit redundant, and suggests it contains >> a type rather than an insn. > > I'm open to suggestions there as well. On x86 and ia64, it won't hold an > entire insn, so "tcg_insn" seemed inappropriate. tcg_insn_stream? -- Alex Bennée