aboutsummaryrefslogtreecommitdiff
path: root/opcodes/mips-opc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-08-27 14:55:22 +0000
committerIan Lance Taylor <ian@airs.com>1993-08-27 14:55:22 +0000
commita5ba0d3f4818c0ad3e1d5b002d07783ae668e3e5 (patch)
tree0bc7341fd365b8878a046a340b2f5b8a933eb93c /opcodes/mips-opc.c
parent860a1754fd7e4c8ff3c68683554b8420fcf5bb94 (diff)
downloadgdb-a5ba0d3f4818c0ad3e1d5b002d07783ae668e3e5.zip
gdb-a5ba0d3f4818c0ad3e1d5b002d07783ae668e3e5.tar.gz
gdb-a5ba0d3f4818c0ad3e1d5b002d07783ae668e3e5.tar.bz2
* mips-opc.c: From davidj@ICSI.Berkeley.EDU (David Johnson): Set
WR_31 hazard for bal, bgezal, bltzal.
Diffstat (limited to 'opcodes/mips-opc.c')
-rw-r--r--opcodes/mips-opc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index 0172695..c680ae8 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -83,12 +83,11 @@ const struct mips_opcode mips_opcodes[] = {
{"move", "d,s", 0x00000021, 0xfc1f07ff, WR_d|RD_s }, /* addu */
{"b", "p", 0x10000000, 0xffff0000, UBD }, /* beq 0,0 */
{"b", "p", 0x40100000, 0xffff0000, UBD }, /* bgez 0 */
-{"bal", "p", 0x04110000, 0xffff0000, UBD }, /* bgezal 0 */
+{"bal", "p", 0x04110000, 0xffff0000, UBD|WR_31 }, /* bgezal 0 */
{"abs", "d,v", 0, (int) M_ABS, INSN_MACRO },
{"abs.s", "D,V", 0x46000005, 0xffff003f, WR_D|RD_S },
{"abs.d", "D,V", 0x46200005, 0xffff003f, WR_D|RD_S },
-{"absu", "d,s", 0, (int) M_ABSU, INSN_MACRO },
{"add", "d,v,t", 0x00000020, 0xfc0007ff, WR_d|RD_s|RD_t },
{"add", "t,r,I", 0, (int) M_ADD_I, INSN_MACRO },
{"add.s", "D,V,T", 0x46000000, 0xffe0003f, WR_D|RD_S|RD_T },
@@ -134,7 +133,7 @@ const struct mips_opcode mips_opcodes[] = {
{"bgeul", "s,I,p", 2, (int) M_BGEUL_I, INSN_MACRO },
{"bgez", "s,p", 0x04010000, 0xfc1f0000, CBD|RD_s },
{"bgezl", "s,p", 0x04030000, 0xfc1f0000, CBD|RD_s|I2 },
-{"bgezal", "s,p", 0x04110000, 0xfc1f0000, CBD|RD_s },
+{"bgezal", "s,p", 0x04110000, 0xfc1f0000, CBD|RD_s|WR_31 },
{"bgezall", "s,p", 0x04130000, 0xfc1f0000, CBD|RD_s|I2 },
{"bgt", "s,t,p", 0, (int) M_BGT, INSN_MACRO },
{"bgt", "s,I,p", 0, (int) M_BGT_I, INSN_MACRO },
@@ -166,7 +165,7 @@ const struct mips_opcode mips_opcodes[] = {
{"bltul", "s,I,p", 2, (int) M_BLTUL_I, INSN_MACRO },
{"bltz", "s,p", 0x04000000, 0xfc1f0000, CBD|RD_s },
{"bltzl", "s,p", 0x04020000, 0xfc1f0000, CBD|RD_s|I2 },
-{"bltzal", "s,p", 0x04100000, 0xfc1f0000, CBD|RD_s },
+{"bltzal", "s,p", 0x04100000, 0xfc1f0000, CBD|RD_s|WR_31 },
{"bltzall", "s,p", 0x04120000, 0xfc1f0000, CBD|RD_s|I2 },
{"bnez", "s,p", 0x14000000, 0xfc1f0000, CBD|RD_s },
{"bnezl", "s,p", 0x54000000, 0xfc1f0000, CBD|RD_s|I2 },
@@ -233,6 +232,7 @@ const struct mips_opcode mips_opcodes[] = {
{"cvt.s.w", "D,S", 0x46800020, 0xffff003f, WR_D|RD_S },
{"cvt.w.d", "D,S", 0x46200024, 0xffff003f, WR_D|RD_S },
{"cvt.w.s", "D,S", 0x46000024, 0xffff003f, WR_D|RD_S },
+{"dabs", "d,v", 0, (int) M_DABS, INSN_MACRO },
{"dadd", "d,v,t", 0x0000002c, 0xfc0007ff, WR_d|RD_s|RD_t|I3},
{"dadd", "t,r,I", 3, (int) M_DADD_I, INSN_MACRO },
{"daddi", "t,r,j", 0x60000000, 0xfc000000, WR_t|RD_s|I3 },