aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-12-10 00:03:43 +0000
committerDoug Evans <dje@google.com>1998-12-10 00:03:43 +0000
commit64db3c9a813b4bd09c022842abdc103a2b0986c2 (patch)
tree349052cf0238aec898bdd49666d619c70f712fdb
parent467caa5a896fbfc956d4629c51ec7dad3b9ab10e (diff)
downloadgdb-64db3c9a813b4bd09c022842abdc103a2b0986c2.zip
gdb-64db3c9a813b4bd09c022842abdc103a2b0986c2.tar.gz
gdb-64db3c9a813b4bd09c022842abdc103a2b0986c2.tar.bz2
* mips-opc.c (sync*): Flag these instructions with INSN_SYNC.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mips-opc.c6
2 files changed, 7 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 58ac5d7..89ecb76 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -5,6 +5,10 @@ Wed Dec 9 14:57:23 1998 Doug Evans <devans@canuck.cygnus.com>
* dvp-opc.c (vu_lower_opcodes): Update mtir entry.
(extract_ffstreg): Fix calculation of reg part of returned value.
+ Thu Nov 19 16:38:16 EST 1998 Frank Ch. Eigler <fche@cygnus.com>
+
+ * mips-opc.c (sync*): Flag these instructions with INSN_SYNC.
+
Wed Jul 29 09:41:19 1998 Frank Ch. Eigler <fche@cygnus.com>
* dvp-opc.c (vu_lower_opcodes): Allow ISW, ISWR, MFIR instructions
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index 4225f86..caf3d09 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -1176,9 +1176,9 @@ const struct mips_opcode mips_builtin_opcodes[] = {
{"invalidate", "t,o(b)",0xb8000000, 0xfc000000, RD_t|RD_b, I2 }, /* same */
{"invalidate", "t,A(b)",0, (int) M_SWR_AB, INSN_MACRO, I2 }, /* as swr */
{"swxc1", "S,t(b)", 0x4c000008, 0xfc0007ff, SM|RD_S|RD_t|RD_b, I4 },
-{"sync", "", 0x0000000f, 0xffffffff, 0, I2|T3 },
-{"sync.p", "", 0x0000040f, 0xffffffff, 0, I2 },
-{"sync.l", "", 0x0000000f, 0xffffffff, 0, I2 },
+{"sync", "", 0x0000000f, 0xffffffff, INSN_SYNC, I2|G1 },
+{"sync.p", "", 0x0000040f, 0xffffffff, INSN_SYNC, I2 },
+{"sync.l", "", 0x0000000f, 0xffffffff, INSN_SYNC, I2 },
{"syscall", "", 0x0000000c, 0xffffffff, TRAP, I1 },
{"syscall", "B", 0x0000000c, 0xfc00003f, TRAP, I1 },
{"teqi", "s,j", 0x040c0000, 0xfc1f0000, RD_s|TRAP, I2 },