From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRk29-0006yb-5o for qemu-devel@nongnu.org; Thu, 03 Oct 2013 10:37:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VRk23-0000CH-N4 for qemu-devel@nongnu.org; Thu, 03 Oct 2013 10:37:41 -0400 Received: from mail-la0-f43.google.com ([209.85.215.43]:35175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRk23-0000CD-G1 for qemu-devel@nongnu.org; Thu, 03 Oct 2013 10:37:35 -0400 Received: by mail-la0-f43.google.com with SMTP id ep20so2049808lab.16 for ; Thu, 03 Oct 2013 07:37:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <524D6838.5080607@linaro.org> From: Peter Maydell Date: Thu, 3 Oct 2013 23:37:13 +0900 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH v2] target-arm: Implement ARMv8 VSEL instruction. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Will Newton Cc: QEMU Developers , Patch Tracking On 3 October 2013 23:31, Will Newton wrote: > On 3 October 2013 13:59, Peter Maydell wrote: >> This isn't what I meant. If our decoding matches up with the ARM ARM >> then this instruction pattern should already fall into disas_vfp_insn(), >> and we shouldn't need an extra check and call. (If it's not correct then >> we should adjust our decode so it does.) > > I'll respin the patch pulling the calls to disas_vfp_insn up a level > which I think you alluded to in the original review. It still needs an > additional call to disas_vfp_insn in the ARM case as condition code == > 0xf is dealt with separately from the others. Let me know if this is > not what you were looking for. Ah, that means the ARM ARM table is incorrect, because it implies that VSEL is conditional (which it definitely isn't). I need to look at where the new insns are in the T32/A32 encodings in more detail, then, which I don't have time for just at the moment. Pulling the disas_vfp_insn calls out of disas_coproc is a good idea anyway, though (it should be a separate patch to the one which adds VSEL). -- PMM