From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfx76-0002qv-EP for qemu-devel@nongnu.org; Mon, 11 Nov 2013 14:25:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vfx6x-00076V-9c for qemu-devel@nongnu.org; Mon, 11 Nov 2013 14:25:32 -0500 Received: from mail-qe0-x22a.google.com ([2607:f8b0:400d:c02::22a]:62606) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vfx6x-00076A-3X for qemu-devel@nongnu.org; Mon, 11 Nov 2013 14:25:23 -0500 Received: by mail-qe0-f42.google.com with SMTP id df13so1650295qeb.1 for ; Mon, 11 Nov 2013 11:25:21 -0800 (PST) Sender: Richard Henderson Message-ID: <52812F17.4010400@twiddle.net> Date: Tue, 12 Nov 2013 05:25:11 +1000 From: Richard Henderson MIME-Version: 1.0 References: <1384182837-5925-1-git-send-email-claudio.fontana@linaro.org> In-Reply-To: <1384182837-5925-1-git-send-email-claudio.fontana@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC] target-arm: provide skeleton for a64 insn decoding List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Claudio Fontana , Peter Maydell Cc: qemu-devel@nongnu.org, Michael Matz , Alex Bennee , Alexander Graf , patches@linaro.org On 11/12/2013 01:13 AM, Claudio Fontana wrote: > +/* C3.2 Branches, exception generating and system instructions */ > +static void disas_b_exc_sys(DisasContext *s, uint32_t insn) > +{ > + switch (extract32(insn, 25, 7)) { > + case 0x0a: case 0x4a: /* Unconditional branch (immediate) */ > + disas_uncond_b_imm(s, insn); > + break; Bit 25 is "-" for unconditional branch, so this entry should be 0x0a, 0x0b, 0x4a, 0x4b All of the other decodings look good. r~