g2000-02-22 Andrew Haley <aph@cygnus.com>

* mips.h: (OPCODE_IS_MEMBER): Add comment.
This commit is contained in:
Andrew Haley 2000-02-22 19:01:25 +00:00
parent 6349b5f490
commit 87f398dd6a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-02-22 Andrew Haley <aph@cygnus.com>
* mips.h: (OPCODE_IS_MEMBER): Add comment.
1999-12-30 Andrew Haley <aph@cygnus.com> 1999-12-30 Andrew Haley <aph@cygnus.com>
* mips.h (OPCODE_IS_MEMBER): Add gp32 arg, which determines * mips.h (OPCODE_IS_MEMBER): Add gp32 arg, which determines

View File

@ -326,7 +326,10 @@ struct mips_opcode
/* Test for membership in an ISA including chip specific ISAs. /* Test for membership in an ISA including chip specific ISAs.
INSN is pointer to an element of the opcode table; ISA is the INSN is pointer to an element of the opcode table; ISA is the
specified ISA to test against; and CPU is the CPU specific ISA specified ISA to test against; and CPU is the CPU specific ISA
to test, or zero if no CPU specific ISA test is desired. */ to test, or zero if no CPU specific ISA test is desired.
The gp32 arg is set when you need to force 32-bit register usage on
a machine with 64-bit registers; see the documentation under -mgp32
in the MIPS gas docs. */
#define OPCODE_IS_MEMBER(insn,isa,cpu,gp32) \ #define OPCODE_IS_MEMBER(insn,isa,cpu,gp32) \
((((insn)->membership & INSN_ISA) != 0 \ ((((insn)->membership & INSN_ISA) != 0 \