summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2000-02-22 19:01:25 +0000
committerAndrew Haley <aph@redhat.com>2000-02-22 19:01:25 +0000
commite10a46ea6474ba025a97f438f27b65b675af91f0 (patch)
tree83e49f44e9e9d36ff5834566e6931a5c09c7d52a
parent5f49bbc6be5284b5a8f9d789ac79eac5a54b515a (diff)
downloadgdb-e10a46ea6474ba025a97f438f27b65b675af91f0.tar.gz
g2000-02-22 Andrew Haley <aph@cygnus.com>
* mips.h: (OPCODE_IS_MEMBER): Add comment.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/mips.h5
2 files changed, 8 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index b95bb224e51..b5befb89990 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -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>
* mips.h (OPCODE_IS_MEMBER): Add gp32 arg, which determines
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 3f9207ff3aa..68fe57a8aae 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -326,7 +326,10 @@ struct mips_opcode
/* Test for membership in an ISA including chip specific ISAs.
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
- 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) \
((((insn)->membership & INSN_ISA) != 0 \