Skip to contentSkip to conversation

Mips improvements

PATCH New Thiemo Seufer 1 participant 1 message May 15, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 2/8 Mips improvements

Hello All,

this patch enables disassembly of all instructions the mips disassembler knows about.

Thiemo

mips-dis.c +5 -0
Index: qemu-work/mips-dis.c
===================================================================
@@ -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.