gas/
* config/m68k-parse.h (m68k_register): Use MBO instead of MBB. (last_movec_reg): Change to MBO. * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB. (m68k_ip): Use MBO instead of MBO. (init_table): Use MBO instead of MBO. Add an entry for mbo. gas/testsuite/ * gas/m68k/fido.s: Add tests for %mbo. * gas/m68k/fido.d: Update accordingly. opcodes/ * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
This commit is contained in:
parent
e03a35752c
commit
d0fa13723f
8 changed files with 40 additions and 14 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2007-09-27 Kazu Hirata <kazu@codesourcery.com>
|
||||||
|
|
||||||
|
* config/m68k-parse.h (m68k_register): Use MBO instead of MBB.
|
||||||
|
(last_movec_reg): Change to MBO.
|
||||||
|
* config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB.
|
||||||
|
(m68k_ip): Use MBO instead of MBO.
|
||||||
|
(init_table): Use MBO instead of MBO. Add an entry for mbo.
|
||||||
|
|
||||||
2007-09-26 Jan Beulich <jbeulich@novell.com>
|
2007-09-26 Jan Beulich <jbeulich@novell.com>
|
||||||
|
|
||||||
* config/tc-i386.c (build_modrm_byte): Also check for RegEip
|
* config/tc-i386.c (build_modrm_byte): Also check for RegEip
|
||||||
|
|
|
@ -131,8 +131,8 @@ enum m68k_register
|
||||||
MBAR,
|
MBAR,
|
||||||
ASID, /* m5475. */
|
ASID, /* m5475. */
|
||||||
CAC, /* fido added this. */
|
CAC, /* fido added this. */
|
||||||
MBB,
|
MBO,
|
||||||
#define last_movec_reg MBB
|
#define last_movec_reg MBO
|
||||||
/* End of movec ordering constraints. */
|
/* End of movec ordering constraints. */
|
||||||
|
|
||||||
FPI,
|
FPI,
|
||||||
|
|
|
@ -309,7 +309,7 @@ static const enum m68k_register mcf5485_ctrl[] = {
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
static const enum m68k_register fido_ctrl[] = {
|
static const enum m68k_register fido_ctrl[] = {
|
||||||
SFC, DFC, USP, VBR, CAC, MBB,
|
SFC, DFC, USP, VBR, CAC, MBO,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
#define cpu32_ctrl m68010_ctrl
|
#define cpu32_ctrl m68010_ctrl
|
||||||
|
@ -3265,7 +3265,7 @@ m68k_ip (char *instring)
|
||||||
case CAC:
|
case CAC:
|
||||||
tmpreg = 0xFFE;
|
tmpreg = 0xFFE;
|
||||||
break;
|
break;
|
||||||
case MBB:
|
case MBO:
|
||||||
tmpreg = 0xFFF;
|
tmpreg = 0xFFF;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
@ -4006,7 +4006,8 @@ static const struct init_entry init_table[] =
|
||||||
{ "mbar2", MBAR2 }, /* mcf5249 registers. */
|
{ "mbar2", MBAR2 }, /* mcf5249 registers. */
|
||||||
|
|
||||||
{ "cac", CAC }, /* fido registers. */
|
{ "cac", CAC }, /* fido registers. */
|
||||||
{ "mbb", MBB }, /* fido registers. */
|
{ "mbb", MBO }, /* fido registers (obsolete). */
|
||||||
|
{ "mbo", MBO }, /* fido registers. */
|
||||||
/* End of control registers. */
|
/* End of control registers. */
|
||||||
|
|
||||||
{ "ac", AC },
|
{ "ac", AC },
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2007-09-27 Kazu Hirata <kazu@codesourcery.com>
|
||||||
|
|
||||||
|
* gas/m68k/fido.s: Add tests for %mbo.
|
||||||
|
* gas/m68k/fido.d: Update accordingly.
|
||||||
|
|
||||||
2007-09-26 Jan Beulich <jbeulich@novell.com>
|
2007-09-26 Jan Beulich <jbeulich@novell.com>
|
||||||
|
|
||||||
* gas/i386/x86-64-addr32.d: Adjust expectations.
|
* gas/i386/x86-64-addr32.d: Adjust expectations.
|
||||||
|
|
|
@ -25,17 +25,21 @@ Disassembly of section .text:
|
||||||
0+020 <foo\+(0x|)20> trapx #15
|
0+020 <foo\+(0x|)20> trapx #15
|
||||||
0+022 <foo\+(0x|)22> movec %cac,%d0
|
0+022 <foo\+(0x|)22> movec %cac,%d0
|
||||||
0+026 <foo\+(0x|)26> movec %cac,%a0
|
0+026 <foo\+(0x|)26> movec %cac,%a0
|
||||||
0+02a <foo\+(0x|)2a> movec %mbb,%d1
|
0+02a <foo\+(0x|)2a> movec %mbo,%d1
|
||||||
0+02e <foo\+(0x|)2e> movec %mbb,%a1
|
0+02e <foo\+(0x|)2e> movec %mbo,%a1
|
||||||
0+032 <foo\+(0x|)32> movec %d2,%cac
|
0+032 <foo\+(0x|)32> movec %d2,%cac
|
||||||
0+036 <foo\+(0x|)36> movec %a2,%cac
|
0+036 <foo\+(0x|)36> movec %a2,%cac
|
||||||
0+03a <foo\+(0x|)3a> movec %d3,%mbb
|
0+03a <foo\+(0x|)3a> movec %d3,%mbo
|
||||||
0+03e <foo\+(0x|)3e> movec %a3,%mbb
|
0+03e <foo\+(0x|)3e> movec %a3,%mbo
|
||||||
0+042 <foo\+(0x|)42> movec %cac,%d4
|
0+042 <foo\+(0x|)42> movec %cac,%d4
|
||||||
0+046 <foo\+(0x|)46> movec %cac,%a4
|
0+046 <foo\+(0x|)46> movec %cac,%a4
|
||||||
0+04a <foo\+(0x|)4a> movec %mbb,%d5
|
0+04a <foo\+(0x|)4a> movec %mbo,%d5
|
||||||
0+04e <foo\+(0x|)4e> movec %mbb,%a5
|
0+04e <foo\+(0x|)4e> movec %mbo,%a5
|
||||||
0+052 <foo\+(0x|)52> movec %d6,%cac
|
0+052 <foo\+(0x|)52> movec %d6,%cac
|
||||||
0+056 <foo\+(0x|)56> movec %fp,%cac
|
0+056 <foo\+(0x|)56> movec %fp,%cac
|
||||||
0+05a <foo\+(0x|)5a> movec %d7,%mbb
|
0+05a <foo\+(0x|)5a> movec %d7,%mbo
|
||||||
0+05e <foo\+(0x|)5e> movec %sp,%mbb
|
0+05e <foo\+(0x|)5e> movec %sp,%mbo
|
||||||
|
0+062 <foo\+(0x|)62> movec %mbo,%d0
|
||||||
|
0+066 <foo\+(0x|)66> movec %mbo,%a0
|
||||||
|
0+06a <foo\+(0x|)6a> movec %d1,%mbo
|
||||||
|
0+06e <foo\+(0x|)6e> movec %a1,%mbo
|
||||||
|
|
|
@ -35,3 +35,7 @@ foo:
|
||||||
movec %a6,%cac
|
movec %a6,%cac
|
||||||
movec %d7,%mbb
|
movec %d7,%mbb
|
||||||
movec %a7,%mbb
|
movec %a7,%mbb
|
||||||
|
movec %mbo,%d0
|
||||||
|
movec %mbo,%a0
|
||||||
|
movec %d1,%mbo
|
||||||
|
movec %a1,%mbo
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
2007-09-27 Kazu Hirata <kazu@codesourcery.com>
|
||||||
|
|
||||||
|
* m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
|
||||||
|
|
||||||
2007-09-26 James E. Wilson <wilson@specifix.com>
|
2007-09-26 James E. Wilson <wilson@specifix.com>
|
||||||
|
|
||||||
* ia64-gen.c (print_dependency_table): Fix typo in last patch.
|
* ia64-gen.c (print_dependency_table): Fix typo in last patch.
|
||||||
|
|
|
@ -641,7 +641,7 @@ print_insn_arg (const char *d,
|
||||||
{"%urp", 0x806}, {"%srp", 0x807}, {"%pcr", 0x808},
|
{"%urp", 0x806}, {"%srp", 0x807}, {"%pcr", 0x808},
|
||||||
|
|
||||||
/* Fido added these. */
|
/* Fido added these. */
|
||||||
{"%cac", 0xffe}, {"%mbb", 0xfff}};
|
{"%cac", 0xffe}, {"%mbo", 0xfff}};
|
||||||
|
|
||||||
val = fetch_arg (buffer, place, 12, info);
|
val = fetch_arg (buffer, place, 12, info);
|
||||||
for (regno = sizeof names / sizeof names[0] - 1; regno >= 0; regno--)
|
for (regno = sizeof names / sizeof names[0] - 1; regno >= 0; regno--)
|
||||||
|
|
Loading…
Reference in a new issue