aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1998-02-27 20:15:50 +0000
committerJeff Law <law@redhat.com>1998-02-27 20:15:50 +0000
commitbac914a58b30b3f232b3de7cfa5816741d51b6a9 (patch)
tree9b0308f712dd4ef663cf68d8742a098bd386423a
parent81b9505a43cdfee8699cfc779d2bbd06e8dab324 (diff)
downloadgdb-bac914a58b30b3f232b3de7cfa5816741d51b6a9.zip
gdb-bac914a58b30b3f232b3de7cfa5816741d51b6a9.tar.gz
gdb-bac914a58b30b3f232b3de7cfa5816741d51b6a9.tar.bz2
* mips-opc.c (r5900/madd.s): Takes three operands, not four. Fix
opcode. (r5900/min.s): Incorrect opcode ....,101001 not ...110000. (r5900/msub.s): Takes three operands, not four. Fix opcode.
-rw-r--r--opcodes/ChangeLog7
-rw-r--r--opcodes/mips-opc.c6
2 files changed, 10 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 3516b06..5dc3d2d 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,10 @@
+Fri Feb 27 13:16:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
+
+ * mips-opc.c (r5900/madd.s): Takes three operands, not four. Fix
+ opcode.
+ (r5900/min.s): Incorrect opcode ....,101001 not ...110000.
+ (r5900/msub.s): Takes three operands, not four. Fix opcode.
+
start-sanitize-d30v
Thu Feb 26 15:53:09 1998 Michael Meissner <meissner@cygnus.com>
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index c864c6c..7cf2e1a 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -531,7 +531,7 @@ const struct mips_opcode mips_builtin_opcodes[] = {
{"madd.d", "D,R,S,T", 0x4c000021, 0xfc00003f, RD_R|RD_S|RD_T|WR_D|FP_D, I4 },
{"madd.s", "D,R,S,T", 0x4c000020, 0xfc00003f, RD_R|RD_S|RD_T|WR_D|FP_S, I4 },
/* start-sanitize-r5900 */
-{"madd.s", "D,R,S,T", 0x4c000020, 0xfc00003f, RD_R|RD_S|RD_T|WR_D|FP_S, T5 },
+{"madd.s", "D,S,T", 0x4600001c, 0xffe007ff, WR_D|RD_S|RD_T|FP_S, T5 },
/* end-sanitize-r5900 */
{"madd", "s,t", 0x0000001c, 0xfc00ffff, RD_s|RD_t|WR_HI|WR_LO, L1 },
{"madd", "s,t", 0x70000000, 0xfc00ffff, RD_s|RD_t|WR_HI|WR_LO, G1 },
@@ -549,7 +549,7 @@ const struct mips_opcode mips_builtin_opcodes[] = {
{"adda.s", "S,T", 0x46000018, 0xffe007ff, RD_S|RD_T|FP_S, T5 },
{"madda.s", "S,T", 0x4600001e, 0xffe007ff, RD_S|RD_T|FP_S, T5 },
{"max.s", "D,S,T", 0x46000028, 0xffe0003f, WR_D|RD_S|RD_T|FP_S, T5 },
-{"min.s", "D,S,T", 0x46000030, 0xffe0003f, WR_D|RD_S|RD_T|FP_S, T5 },
+{"min.s", "D,S,T", 0x46000029, 0xffe0003f, WR_D|RD_S|RD_T|FP_S, T5 },
{"msuba.s", "S,T", 0x4600001f, 0xffe007ff, RD_S|RD_T|FP_S, T5 },
{"mula.s", "S,T", 0x4600001a, 0xffe007ff, RD_S|RD_T|FP_S, T5 },
{"suba.s", "S,T", 0x46000019, 0xffe007ff, RD_S|RD_T|FP_S, T5 },
@@ -644,7 +644,7 @@ const struct mips_opcode mips_builtin_opcodes[] = {
{"msub.d", "D,R,S,T", 0x4c000029, 0xfc00003f, RD_R|RD_S|RD_T|WR_D|FP_D, I4 },
{"msub.s", "D,R,S,T", 0x4c000028, 0xfc00003f, RD_R|RD_S|RD_T|WR_D|FP_S, I4 },
/* start-sanitize-r5900 */
-{"msub.s", "D,R,S,T", 0x4c000028, 0xfc00003f, RD_R|RD_S|RD_T|WR_D|FP_S, T5 },
+{"msub.s", "D,S,T", 0x4600001d, 0xffe007ff, WR_D|RD_S|RD_T|FP_S, T5 },
/* end-sanitize-r5900 */
{"msub", "s,t", 0x0000001e, 0xfc00ffff, RD_s|RD_t|WR_HI|WR_LO,L1 },
{"msubu", "s,t", 0x0000001f, 0xfc00ffff, RD_s|RD_t|WR_HI|WR_LO,L1 },