aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-06-06 10:49:48 +0000
committerThiemo Seufer <ths@networkno.de>2006-06-06 10:49:48 +0000
commitc281fc320ffa1eb231e71bc179cc884626d87e6c (patch)
treedd90e842a349da1e5ab6927989b02f0f996d7b18
parent512c2879a4af0ddf31207450fb4a2173220081e0 (diff)
downloadnewlib-c281fc320ffa1eb231e71bc179cc884626d87e6c.zip
newlib-c281fc320ffa1eb231e71bc179cc884626d87e6c.tar.gz
newlib-c281fc320ffa1eb231e71bc179cc884626d87e6c.tar.bz2
[ gas/ChangeLog ]
* config/tc-mips.c (ISA_SUPPORTS_DSP64): New macro. (CPU_HAS_MIPS3D, CPU_HAS_MDMX, CPU_HAS_DSP, CPU_HAS_MT): Delete. (macro_build): Update comment. (mips_ip): Allow DSP64 instructions for MIPS64R2. (mips_after_parse_args): Remove uses of CPU_HAS_MIPS3D and CPU_HAS_MDMX. (mips_cpu_info): Fix formatting. Add MIPS_CPU_ASE_MIPS3D and MIPS_CPU_ASE_MDMX flags for sb1. [ gas/testsuite/ChangeLog ] * gas/mips/mips64-dsp.s, gas/mips/mips64-dsp.d: New DSP64 tests. * gas/mips/mips.exp: Run DSP64 tests. [ opcodes/ChangeLog ] * mips-dis.c: Disassemble DSP64 instructions for MIPS64R2. * mips-opc.c: Add DSP64 instructions.
-rw-r--r--include/opcode/mips.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/opcode/mips.h b/include/opcode/mips.h
index 7ff8602..dd99c4d 100644
--- a/include/opcode/mips.h
+++ b/include/opcode/mips.h
@@ -485,16 +485,15 @@ struct mips_opcode
#define INSN_ISA64R2 0x00000100
/* Masks used for MIPS-defined ASEs. */
-#define INSN_ASE_MASK 0x0c00f000
+#define INSN_ASE_MASK 0x1c00f000
/* DSP ASE */
#define INSN_DSP 0x00001000
+#define INSN_DSP64 0x00002000
/* MIPS 16 ASE */
-#define INSN_MIPS16 0x00002000
+#define INSN_MIPS16 0x00004000
/* MIPS-3D ASE */
-#define INSN_MIPS3D 0x00004000
-/* MDMX ASE */
-#define INSN_MDMX 0x00008000
+#define INSN_MIPS3D 0x00008000
/* Chip specific instructions. These are bitmasks. */
@@ -519,11 +518,12 @@ struct mips_opcode
/* NEC VR5500 instruction. */
#define INSN_5500 0x02000000
+/* MDMX ASE */
+#define INSN_MDMX 0x04000000
/* MT ASE */
-#define INSN_MT 0x04000000
-
+#define INSN_MT 0x08000000
/* SmartMIPS ASE. */
-#define INSN_SMARTMIPS 0x08000000
+#define INSN_SMARTMIPS 0x10000000
/* MIPS ISA defines, use instead of hardcoding ISA level. */