mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-08 00:23:09 +00:00
cpu/mem.opc whitespace tidy
cpu/ * mep.opc: Whitespace and formatting. opcodes/ * mep-asm.c: Regenerate. * mep-dis.c: Regenerate.
This commit is contained in:
13
cpu/mep.opc
13
cpu/mep.opc
@@ -682,10 +682,10 @@ expand_macro (arg *args, int narg, const macro *mac)
|
|||||||
/* printf("expanding macro %s with %d args\n", mac->name, narg + 1); */
|
/* printf("expanding macro %s with %d args\n", mac->name, narg + 1); */
|
||||||
while (*e)
|
while (*e)
|
||||||
{
|
{
|
||||||
if (*e == '`' &&
|
if (*e == '`'
|
||||||
(*e+1) &&
|
&& (*e+1)
|
||||||
((*(e + 1) - '1') <= MAXARGS) &&
|
&& ((*(e + 1) - '1') <= MAXARGS)
|
||||||
((*(e + 1) - '1') <= narg))
|
&& ((*(e + 1) - '1') <= narg))
|
||||||
{
|
{
|
||||||
result = str_append (result, mark, e - mark);
|
result = str_append (result, mark, e - mark);
|
||||||
mac_arg = (*(e + 1) - '1');
|
mac_arg = (*(e + 1) - '1');
|
||||||
@@ -803,7 +803,6 @@ expand_string (const char *in, int first_only)
|
|||||||
if (narg > -1)
|
if (narg > -1)
|
||||||
args[narg].len++;
|
args[narg].len++;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
++in;
|
++in;
|
||||||
}
|
}
|
||||||
@@ -958,8 +957,8 @@ mep_print_vliw_insns (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info,
|
|||||||
}
|
}
|
||||||
status += my_status;
|
status += my_status;
|
||||||
|
|
||||||
/* Print the + to indicate that the following copro insn is */
|
/* Print the + to indicate that the following copro insn is
|
||||||
/* part of a vliw group. */
|
part of a vliw group. */
|
||||||
if (copro1length > 0)
|
if (copro1length > 0)
|
||||||
(*info->fprintf_func) (info->stream, " + ");
|
(*info->fprintf_func) (info->stream, " + ");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -638,10 +638,10 @@ expand_macro (arg *args, int narg, const macro *mac)
|
|||||||
/* printf("expanding macro %s with %d args\n", mac->name, narg + 1); */
|
/* printf("expanding macro %s with %d args\n", mac->name, narg + 1); */
|
||||||
while (*e)
|
while (*e)
|
||||||
{
|
{
|
||||||
if (*e == '`' &&
|
if (*e == '`'
|
||||||
(*e+1) &&
|
&& (*e+1)
|
||||||
((*(e + 1) - '1') <= MAXARGS) &&
|
&& ((*(e + 1) - '1') <= MAXARGS)
|
||||||
((*(e + 1) - '1') <= narg))
|
&& ((*(e + 1) - '1') <= narg))
|
||||||
{
|
{
|
||||||
result = str_append (result, mark, e - mark);
|
result = str_append (result, mark, e - mark);
|
||||||
mac_arg = (*(e + 1) - '1');
|
mac_arg = (*(e + 1) - '1');
|
||||||
@@ -759,7 +759,6 @@ expand_string (const char *in, int first_only)
|
|||||||
if (narg > -1)
|
if (narg > -1)
|
||||||
args[narg].len++;
|
args[narg].len++;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
++in;
|
++in;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -154,8 +154,8 @@ mep_print_vliw_insns (CGEN_CPU_DESC cd, bfd_vma pc, disassemble_info *info,
|
|||||||
}
|
}
|
||||||
status += my_status;
|
status += my_status;
|
||||||
|
|
||||||
/* Print the + to indicate that the following copro insn is */
|
/* Print the + to indicate that the following copro insn is
|
||||||
/* part of a vliw group. */
|
part of a vliw group. */
|
||||||
if (copro1length > 0)
|
if (copro1length > 0)
|
||||||
(*info->fprintf_func) (info->stream, " + ");
|
(*info->fprintf_func) (info->stream, " + ");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user