From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58467) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnzBb-00065F-Vv for qemu-devel@nongnu.org; Tue, 03 Dec 2013 18:15:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnzBW-0000t0-5o for qemu-devel@nongnu.org; Tue, 03 Dec 2013 18:15:23 -0500 Received: from smtp.codeaurora.org ([198.145.11.231]:48166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnzBV-0000su-Vh for qemu-devel@nongnu.org; Tue, 03 Dec 2013 18:15:18 -0500 Message-ID: <529E6601.3010905@codeaurora.org> Date: Tue, 03 Dec 2013 18:15:13 -0500 From: Christopher Covington MIME-Version: 1.0 References: <1386107477-24165-1-git-send-email-peter.maydell@linaro.org> <1386107477-24165-8-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1386107477-24165-8-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 07/12] target-arm: A64: expand decoding skeleton for system instructions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , C Fontana Cc: "patches@linaro.org" , Michael Matz , Alexander Graf , qemu-devel@nongnu.org, Dirk Mueller , Laurent Desnogues , "kvmarm@lists.cs.columbia.edu" , Richard Henderson Hi Claudio, Peter, On 12/03/2013 04:51 PM, Peter Maydell wrote: > From: Claudio Fontana > > Decode the various kinds of system instructions: > hints (HINT), which include NOP, YIELD, WFE, WFI, SEV, SEL > sync instructions, which include CLREX, DSB, DMB, ISB > msr_i, which move immediate to processor state field > sys, which include all SYS and SYSL instructions > msr, which move from a gp register to a system register > mrs, which move from a system register to a gp register > > Provide implementations where they are trivial nops. > > Signed-off-by: Claudio Fontana > Signed-off-by: Peter Maydell > --- > target-arm/translate-a64.c | 130 +++++++++++++++++++++++++++++++++++++++++++- [...] > +/* C3.2.4 System */ > +static void disas_system(DisasContext *s, uint32_t insn) > +{ > + /* > + * 31 30 29 28 27 26 25 24 23 22 21 20 19 18 16 15 12 11 8 7 5 4 0 > + * 1 1 0 1 0 1 0 1 0 0 L op0 op1 CRn CRm op2 Rt > + */ [...] Could this opcode legend get a pretty box like the others? Thanks, Christopher -- Employee of Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation.