Fix decoding of mtacc, dmac, fmac. These files should really get merged

with the ones in BFD and the assembler, but c'est la vie.
This commit is contained in:
John Gilmore 1991-11-08 01:50:51 +00:00
parent c8072296ee
commit 1bf068b8a0
3 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,7 @@
Thu Nov 7 04:51:19 1991 John Gilmore (gnu at cygnus.com)
* am29k-pinsn.c, am29k-opcode.h: Fix decoding of mtacc, dmac, fmac.
* tm-*.h: Remove READ_DBX_FORMAT, COFF_FORMAT, and
READ_MIPS_FORMAT, which have been unused since BFD. Still
remaining is COFF_NO_LONG_FILE_NAMES.

View File

@ -194,7 +194,7 @@ static struct am29k_opcode am29k_opcodes[] =
{ "mfacc", 0xe9, "c,d,f" },
{ "mfsr", 0xc6, "c,s" },
{ "mftlb", 0xb6, "c,a" },
{ "mtacc", 0xe8, "c,d,f" },
{ "mtacc", 0xe8, "a,d,f" },
{ "mtsr", 0xce, "s,b" },
{ "mtsrim", 0x04, "s,x" },
{ "mttlb", 0xbe, "a,b" },

View File

@ -233,11 +233,11 @@ print_insn (memaddr, stream)
break;
case 'F':
fprintf_filtered (stream, "%d", (insn0 >> 18) & 15);
fprintf_filtered (stream, "%d", (insn16 >> 2) & 15);
break;
case 'C':
fprintf_filtered (stream, "%d", (insn0 >> 16) & 3);
fprintf_filtered (stream, "%d", insn16 & 3);
break;
default: