* a29k-dis.c (print_special): Add special register names defined

on 29030, 29040 and 29050.
	(print_insn): Handle new operand type 'I'.
This commit is contained in:
Ian Lance Taylor 1994-10-19 17:41:18 +00:00
parent 1a1077dec5
commit 009946c974
2 changed files with 23 additions and 1 deletions

View File

@ -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.

View File

@ -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;