From: Ian Lance Taylor Date: Wed, 19 Oct 1994 17:41:18 +0000 (+0000) Subject: * a29k-dis.c (print_special): Add special register names defined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=009946c974c94646aa7fa64e60415a9c32e9a06b;p=binutils-gdb.git * a29k-dis.c (print_special): Add special register names defined on 29030, 29040 and 29050. (print_insn): Handle new operand type 'I'. --- diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 6b049834a37..60a48a914bb 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,18 @@ +Wed Oct 19 13:40:16 1994 Ian Lance Taylor + + * 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 + + * Makefile.in (INSTALL): Use top level install.sh script. + +Wed Oct 5 19:16:29 1994 Ian Lance Taylor + + * 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 * configure.in: Use ${config_shell} when running config.bfd. diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c index 2766902f22b..cfd2c077641 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;