Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-02 03:55:22 +0300
committerNick Clifton <nickc@redhat.com>2000-12-02 03:55:22 +0300
commitf9fe8a8ead5935a585726e4339df07fcd1c9201e (patch)
treeb9b93448d2e43bd1a322127e62d78977313bd26f /include/opcode
parent388732e7f6a9b690cf03ec1f1b6fe286c8dd4ecf (diff)
Add MIPS V and MIPS 64 machine numbers
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ChangeLog3
-rw-r--r--include/opcode/mips.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index ceb0317c9..798d3039f 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -25,6 +25,9 @@
(OPCODE_IS_MEMBER): Update for new ISA membership-related
constant meanings.
+ * mips.h (INSN_ISA64, ISA_MIPS5, ISA_MIPS64): New
+ definitions.
+
2000-10-20 Jakub Jelinek <jakub@redhat.com>
* sparc.h (enum sparc_opcode_arch_val): Add SPARC_OPCODE_ARCH_V9B.
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 7eaba3008..bd8f0234c 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -313,6 +313,7 @@ struct mips_opcode
#define INSN_ISA4 0x00000080
#define INSN_ISA5 0x00000100
#define INSN_ISA32 0x00000200
+#define INSN_ISA64 0x00000400
/* Chip specific instructions. These are bitmasks. */
@@ -334,7 +335,9 @@ struct mips_opcode
#define ISA_MIPS2 (ISA_MIPS1 | INSN_ISA2)
#define ISA_MIPS3 (ISA_MIPS2 | INSN_ISA3)
#define ISA_MIPS4 (ISA_MIPS3 | INSN_ISA4)
+#define ISA_MIPS5 (ISA_MIPS4 | INSN_ISA5)
#define ISA_MIPS32 (ISA_MIPS2 | INSN_ISA32)
+#define ISA_MIPS64 (ISA_MIPS5 | INSN_ISA32 | INSN_ISA64)
/* CPU defines, use instead of hardcoding processor number. Keep this
in sync with bfd/archures.c in order for machine selection to work. */
@@ -357,6 +360,8 @@ struct mips_opcode
#define CPU_MIPS16 16
#define CPU_MIPS32 32
#define CPU_MIPS32_4K 3204113 /* 32, 04, octal 'K' */
+#define CPU_MIPS5 5
+#define CPU_MIPS64 64
/* Test for membership in an ISA including chip specific ISAs.
INSN is pointer to an element of the opcode table; ISA is the