From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FfRjq-0005tH-QY for qemu-devel@nongnu.org; Sun, 14 May 2006 21:19:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FfRjp-0005t3-El for qemu-devel@nongnu.org; Sun, 14 May 2006 21:19:10 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FfRjp-0005t0-9N for qemu-devel@nongnu.org; Sun, 14 May 2006 21:19:09 -0400 Received: from [193.7.176.20] (helo=bender.bawue.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1FfRm8-0006ZT-0Y for qemu-devel@nongnu.org; Sun, 14 May 2006 21:21:32 -0400 Received: from lagash (88-106-136-76.dynamic.dsl.as9105.com [88.106.136.76]) (using TLSv1 with cipher DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by bender.bawue.de (Postfix) with ESMTP id 73FFF4413E for ; Mon, 15 May 2006 03:19:07 +0200 (MEST) Received: from ths by lagash with local (Exim 4.62) (envelope-from ) id 1FfRji-0004dd-1f for qemu-devel@nongnu.org; Mon, 15 May 2006 02:19:02 +0100 Date: Mon, 15 May 2006 02:19:01 +0100 Message-ID: <20060515011901.GF800@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline From: Thiemo Seufer Subject: [Qemu-devel] [PATCH 2/8] Mips improvements Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello All, this patch enables disassembly of all instructions the mips disassembler knows about. Thiemo Index: qemu-work/mips-dis.c =================================================================== --- qemu-work.orig/mips-dis.c 2006-05-15 01:13:13.000000000 +0100 +++ qemu-work/mips-dis.c 2006-05-15 01:20:23.000000000 +0100 @@ -528,6 +528,7 @@ ISA/ASE bitmask to test against; and CPU is the CPU specific ISA to test, or zero if no CPU specific ISA test is desired. */ +#if 0 #define OPCODE_IS_MEMBER(insn, isa, cpu) \ (((insn)->membership & isa) != 0 \ || (cpu == CPU_R4650 && ((insn)->membership & INSN_4650) != 0) \ @@ -543,6 +544,10 @@ || (cpu == CPU_VR5400 && ((insn)->membership & INSN_5400) != 0) \ || (cpu == CPU_VR5500 && ((insn)->membership & INSN_5500) != 0) \ || 0) /* Please keep this term for easier source merging. */ +#else +#define OPCODE_IS_MEMBER(insn, isa, cpu) \ + (1 != 0) +#endif /* This is a list of macro expanded instructions.