Received: from [140.186.70.92] (port=59884 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJoof-0007lU-T4 for qemu-devel@nongnu.org; Wed, 02 Jun 2010 10:21:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJooU-0002bz-QC for qemu-devel@nongnu.org; Wed, 02 Jun 2010 10:21:05 -0400 Received: from adelie.canonical.com ([91.189.90.139]:47290) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJooU-0002br-Gc for qemu-devel@nongnu.org; Wed, 02 Jun 2010 10:20:58 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1OJooT-00049X-Dt for ; Wed, 02 Jun 2010 15:20:57 +0100 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3E6C22E8487 for ; Wed, 2 Jun 2010 15:20:46 +0100 (BST) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 02 Jun 2010 14:11:27 -0000 From: =?utf-8?q?Peter_B=2E_J=C3=B8rgensen?= Sender: bounces@canonical.com References: <20100325201554.25624.81405.malonedeb@soybean.canonical.com> Message-Id: <20100602141127.334.8338.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 547227] Re: qemu-system-m68k does not accept "notw %d" instruction Reply-To: Bug 547227 <547227@bugs.launchpad.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Didn't know you are not targeting the original M68000. Must have missed that somewhere. -- = qemu-system-m68k does not accept "notw %d" instruction https://bugs.launchpad.net/bugs/547227 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Invalid Bug description: The notw and notb instructions does not work with latest version of qemu-sy= stem-m68k. I've tried both 0.12.3 and the latest git version compiled about= an hour ago, both running on Arch Linux. The executable fails with the fol= lowing output: > qemu-system-m68k -nographic -M an5206 -kernel test.elf qemu: fatal: Illegal instruction: 4640 @ 00000006 D0 =3D 00000000 A0 =3D 00000000 F0 =3D 0000000000000000 ( 0) D1 =3D 00000000 A1 =3D 00000000 F1 =3D 0000000000000000 ( 0) D2 =3D 00000000 A2 =3D 00000000 F2 =3D 0000000000000000 ( 0) D3 =3D 00000000 A3 =3D 00000000 F3 =3D 0000000000000000 ( 0) D4 =3D 00000000 A4 =3D 00000000 F4 =3D 0000000000000000 ( 0) D5 =3D 00000000 A5 =3D 00000000 F5 =3D 0000000000000000 ( 0) D6 =3D 00000000 A6 =3D 00000000 F6 =3D 0000000000000000 ( 0) D7 =3D 00000000 A7 =3D 00000000 F7 =3D 0000000000000000 ( 0) PC =3D 00000000 SR =3D 2700 ----- FPRESULT =3D 0 zsh: abort qemu-system-m68k -nographic -M an5206 -kernel test.elf I've attached the test.elf file, which produces the bug. It contains the fo= llowing: > m68k-elf-objdump -m 68000 -D test.elf = test.elf: file format elf32-m68k Disassembly of section .text: 00000000 : 0: 4e71 nop 2: 4e71 nop 4: 4e71 nop 6: 4640 notw %d0 00000008 : 8: 6000 fffe braw 8 It works when removing the not instruction. There might be other non-workin= g instructions, I've only tested a few. Hope you'll get the bug fixed. Thanks.