aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mips-opc.c
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-10-08 03:46:38 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-10-08 03:46:38 +0000
commit80ae705d3021bf475e8dd8c43b69467919f68ecd (patch)
tree99216509ba98e09857410e73ce592960bc6b7512 /opcodes/mips-opc.c
parentb0326e92a5fa04501e156d6340a60f6b3d0a5c14 (diff)
downloadgdb-80ae705d3021bf475e8dd8c43b69467919f68ecd.zip
gdb-80ae705d3021bf475e8dd8c43b69467919f68ecd.tar.gz
gdb-80ae705d3021bf475e8dd8c43b69467919f68ecd.tar.bz2
opcodes/mips-opc.c: Three op mult is not an ISA insn.
Diffstat (limited to 'opcodes/mips-opc.c')
-rw-r--r--opcodes/mips-opc.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index 2b2f77f..13ce87e 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -75,6 +75,11 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
#define T5 INSN_5900
/* end-sanitize-r5900 */
+#define G1 (T3 \
+/* start-sanitize-r5900 */ \
+ | T5 \
+/* end-sanitize-r5900 */ \
+ )
/* The order of overloaded instructions matters. Label arguments and
@@ -563,12 +568,12 @@ const struct mips_opcode mips_builtin_opcodes[] = {
{"mulou", "d,v,t", 0, (int) M_MULOU, INSN_MACRO },
{"mulou", "d,v,I", 0, (int) M_MULOU_I, INSN_MACRO },
{"mult", "s,t", 0x00000018, 0xfc00ffff, RD_s|RD_t|WR_HI|WR_LO, I1},
-{"mult", "d,s,t", 0x00000018, 0xfc0007ff, RD_s|RD_t|WR_HI|WR_LO|WR_d, I1},
+{"mult", "d,s,t", 0x00000018, 0xfc0007ff, RD_s|RD_t|WR_HI|WR_LO|WR_d, G1},
/* start-sanitize-r5900 */
{"mult1", "d,s,t", 0x70000018, 0xfc0007ff, RD_s|RD_t|WR_HI|WR_LO|WR_d, T5},
/* end-sanitize-r5900 */
{"multu", "s,t", 0x00000019, 0xfc00ffff, RD_s|RD_t|WR_HI|WR_LO, I1},
-{"multu", "d,s,t", 0x00000019, 0xfc0007ff, RD_s|RD_t|WR_HI|WR_LO|WR_d, I1},
+{"multu", "d,s,t", 0x00000019, 0xfc0007ff, RD_s|RD_t|WR_HI|WR_LO|WR_d, G1},
/* start-sanitize-r5900 */
{"multu1", "d,s,t", 0x70000019, 0xfc0007ff, RD_s|RD_t|WR_HI|WR_LO|WR_d, T5},
/* end-sanitize-r5900 */