X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=opcodes%2Fmips-formats.h;h=9bf76010f0c037045657d88ddfc204994cc79177;hb=48c97fa1ba7d6628352fc2433abd91a41f6c8171;hp=afc9e4a6b737508998cbeafd5ba25f3d68bf452c;hpb=4b95cf5c0c75d6efc1b2f96af72317aecca079f1;p=deliverable%2Fbinutils-gdb.git diff --git a/opcodes/mips-formats.h b/opcodes/mips-formats.h index afc9e4a6b7..9bf76010f0 100644 --- a/opcodes/mips-formats.h +++ b/opcodes/mips-formats.h @@ -1,5 +1,5 @@ /* mips-formats.h - Copyright (C) 2013-2014 Free Software Foundation, Inc. + Copyright (C) 2013-2016 Free Software Foundation, Inc. This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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; \ + }