From bac914a58b30b3f232b3de7cfa5816741d51b6a9 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 27 Feb 1998 20:15:50 +0000 Subject: [PATCH] * 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. --- opcodes/ChangeLog | 7 +++++++ opcodes/mips-opc.c | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 3516b063b54..5dc3d2d1a0b 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,10 @@ +Fri Feb 27 13:16:42 1998 Andrew Cagney + + * 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 diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c index c864c6c33db..7cf2e1a7fd8 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 }, -- 2.30.2