X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=opcodes%2Fmips-formats.h;h=116d7c880e64871cc86304c979dc6e422f726173;hb=8eb67463b6edfdb06bb647c53ca02f691b456417;hp=afc9e4a6b737508998cbeafd5ba25f3d68bf452c;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=platform%2Fupstream%2Fbinutils.git diff --git a/opcodes/mips-formats.h b/opcodes/mips-formats.h index afc9e4a..116d7c8 100644 --- a/opcodes/mips-formats.h +++ b/opcodes/mips-formats.h @@ -134,3 +134,11 @@ 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; \ + }