Received: from eggs.gnu.org ([2001:4830:134:3::10]:52738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c6l7a-0001Hp-VK for qemu-devel@nongnu.org; Tue, 15 Nov 2016 16:18:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c6l7W-00084o-UQ for qemu-devel@nongnu.org; Tue, 15 Nov 2016 16:18:26 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:36989) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c6l7W-00084J-N9 for qemu-devel@nongnu.org; Tue, 15 Nov 2016 16:18:22 -0500 Received: by mail-wm0-x230.google.com with SMTP id t79so27197164wmt.0 for ; Tue, 15 Nov 2016 13:18:22 -0800 (PST) Sender: Richard Henderson References: <1479242669-25852-1-git-send-email-rth@twiddle.net> <2da99c2f-f8d8-1305-e9ce-33a66309c57e@vivier.eu> From: Richard Henderson Message-ID: Date: Tue, 15 Nov 2016 22:18:18 +0100 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] target-m68k: Implement bfffo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , qemu-devel@nongnu.org On 11/15/2016 10:12 PM, Laurent Vivier wrote: > Le 15/11/2016 à 22:07, Laurent Vivier a écrit : >> Le 15/11/2016 à 21:44, Richard Henderson a écrit : >>> @@ -5415,6 +5450,8 @@ void register_m68k_insns (CPUM68KState *env) >>> INSN(bfop_reg, eac0, fff8, BITFIELD); /* bfchg */ >>> INSN(bfop_mem, ecc0, ffc0, BITFIELD); /* bfclr */ >>> INSN(bfop_reg, ecc0, fff8, BITFIELD); /* bfclr */ >>> + INSN(bfop_mem, edc0, ffc0, BITFIELD); /* bfffo */ >>> + INSN(bfop_reg, edc0, fff8, BITFIELD); /* bfffo */ >> >> In my doc, bfffo is 0xE9C0. > > I think my doc [1] is wrong, because it is the same as bextu and the > as/objdump gives me 0xEDC0. My doc gives the same wrong opcode on the bfffo description page. It confused me for some time until I scrolled to the opcode map at the end of the document, where it is correctly identified as EDC0. r~