]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - opcodes/mips-formats.h
Add support for MIPS R6.
[thirdparty/binutils-gdb.git] / opcodes / mips-formats.h
index afc9e4a6b737508998cbeafd5ba25f3d68bf452c..116d7c880e64871cc86304c979dc6e422f726173 100644 (file)
     static const struct mips_operand op = { OP_##TYPE, SIZE, LSB }; \
     return &op; \
   }
+
+#define PREV_CHECK(SIZE, LSB, GT_OK, LT_OK, EQ_OK, ZERO_OK) \
+  { \
+    static const struct mips_check_prev_operand op = { \
+      { OP_CHECK_PREV, SIZE, LSB }, GT_OK, LT_OK, EQ_OK, ZERO_OK \
+    }; \
+    return &op.root; \
+  }