aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1998-03-10 21:01:43 +0000
committerGavin Romig-Koch <gavin@redhat.com>1998-03-10 21:01:43 +0000
commit56f04c4945cede5d5c3e3ede51f19c3c74b53ba2 (patch)
tree6ac2d6f2cb19fdf03c150c999012145f97f6c60e
parent5fa71251a083c3a47389012d8cc8ec3bd2c4c980 (diff)
downloadgdb-56f04c4945cede5d5c3e3ede51f19c3c74b53ba2.zip
gdb-56f04c4945cede5d5c3e3ede51f19c3c74b53ba2.tar.gz
gdb-56f04c4945cede5d5c3e3ede51f19c3c74b53ba2.tar.bz2
* mips-opc.c ("clz","dclz"): Added the 4320 versions.
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/mips-opc.c6
2 files changed, 10 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 24baad9..4d11a74 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,4 +1,8 @@
start-sanitize-vr4320
+Tue Mar 10 15:57:23 1998 Gavin Koch <gavin@cygnus.com>
+
+ * mips-opc.c ("clz","dclz"): Added the 4320 versions.
+
Mon Mar 9 15:22:06 1998 Gavin Koch <gavin@cygnus.com>
* mips-opc.c ("macc*","mul*"): Added the 4320 versions
diff --git a/opcodes/mips-opc.c b/opcodes/mips-opc.c
index 9f60a5a..3191b01 100644
--- a/opcodes/mips-opc.c
+++ b/opcodes/mips-opc.c
@@ -313,6 +313,9 @@ const struct mips_opcode mips_builtin_opcodes[] = {
{"cfc1", "t,S", 0x44400000, 0xffe007ff, LCD|WR_t|RD_C1|FP_S, I1 },
{"cfc2", "t,G", 0x48400000, 0xffe007ff, LCD|WR_t|RD_C2, I1 },
{"cfc3", "t,G", 0x4c400000, 0xffe007ff, LCD|WR_t|RD_C3, I1 },
+ /* start-sanitize-vr4320 */
+{"clz", "d,s", 0x00000035, 0xfc1f07ff, WR_d|RD_s, N4 },
+ /* end-sanitize-vr4320 */
{"ctc0", "t,G", 0x40c00000, 0xffe007ff, COD|RD_t|WR_CC, I1 },
{"ctc1", "t,G", 0x44c00000, 0xffe007ff, COD|RD_t|WR_CC|FP_S, I1 },
{"ctc1", "t,S", 0x44c00000, 0xffe007ff, COD|RD_t|WR_CC|FP_S, I1 },
@@ -338,6 +341,9 @@ const struct mips_opcode mips_builtin_opcodes[] = {
/* start-sanitize-vr5400 */
{"dbreak", "", 0x7000003f, 0xffffffff, 0, N5 },
/* end-sanitize-vr5400 */
+ /* start-sanitize-vr4320 */
+{"dclz", "d,s", 0x0000003D, 0xfc1f07ff, WR_d|RD_s, N4 },
+ /* end-sanitize-vr4320 */
/* dctr and dctw are used on the r5000. */
{"dctr", "o(b)", 0xbc050000, 0xfc1f0000, RD_b, I3 },
{"dctw", "o(b)", 0xbc090000, 0xfc1f0000, RD_b, I3 },