aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-10-19 17:41:18 +0000
committerIan Lance Taylor <ian@airs.com>1994-10-19 17:41:18 +0000
commit009946c974c94646aa7fa64e60415a9c32e9a06b (patch)
tree482b9bd773eb415760410a0cc6ca2ac32809317d /opcodes
parent1a1077dec5400880a12882d45c6bb16bdc2def54 (diff)
downloadfsf-binutils-gdb-009946c974c94646aa7fa64e60415a9c32e9a06b.zip
fsf-binutils-gdb-009946c974c94646aa7fa64e60415a9c32e9a06b.tar.gz
fsf-binutils-gdb-009946c974c94646aa7fa64e60415a9c32e9a06b.tar.bz2
* a29k-dis.c (print_special): Add special register names defined
on 29030, 29040 and 29050. (print_insn): Handle new operand type 'I'.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog15
-rw-r--r--opcodes/a29k-dis.c9
2 files changed, 23 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6b04983..60a48a9 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,18 @@
+Wed Oct 19 13:40:16 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
+
+ * a29k-dis.c (print_special): Add special register names defined
+ on 29030, 29040 and 29050.
+ (print_insn): Handle new operand type 'I'.
+
+Wed Oct 12 11:59:55 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
+
+ * Makefile.in (INSTALL): Use top level install.sh script.
+
+Wed Oct 5 19:16:29 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
+
+ * sparc-dis.c: Rewrite to use bitfields, rather than a union, so
+ that it works on a little endian host.
+
Tue Oct 4 12:14:21 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
* configure.in: Use ${config_shell} when running config.bfd.
diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c
index 2766902..cfd2c07 100644
--- a/opcodes/a29k-dis.c
+++ b/opcodes/a29k-dis.c
@@ -49,7 +49,9 @@ print_special (num, info)
/* Register names of registers 0-SPEC0_NUM-1. */
static char *spec0_names[] = {
"vab", "ops", "cps", "cfg", "cha", "chd", "chc", "rbp", "tmc", "tmr",
- "pc0", "pc1", "pc2", "mmu", "lru"
+ "pc0", "pc1", "pc2", "mmu", "lru", "rsn", "rma0", "rmc0", "rma1", "rmc1",
+ "spc0", "spc1", "spc2", "iba0", "ibc0", "iba1", "ibc1", "dba", "dbc",
+ "cir", "cdr"
};
#define SPEC0_NUM ((sizeof spec0_names) / (sizeof spec0_names[0]))
@@ -244,6 +246,11 @@ print_insn (memaddr, info)
(*info->fprintf_func) (info->stream, "%d", (insn0 >> 4) & 7);
break;
+ case 'I':
+ if ((insn16 & 3) != 0)
+ (*info->fprintf_func) (info->stream, "%d", insn16 & 3);
+ break;
+
case 'd':
(*info->fprintf_func) (info->stream, "%d", (insn0 >> 2) & 3);
break;