Don't output trailing space

* i386-gen.c (output_cpu_flags): Don't output trailing space.
	(output_opcode_modifier): Likewise.
	(output_operand_type): Likewise.
	* i386-init.h: Regenerated.
	* i386-tbl.h: Likewise.
This commit is contained in:
H.J. Lu 2014-02-19 12:53:27 -08:00
parent 0ff2b86e7c
commit 10632b7999
4 changed files with 41882 additions and 41865 deletions

View file

@ -1,3 +1,11 @@
2014-02-19 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (output_cpu_flags): Don't output trailing space.
(output_opcode_modifier): Likewise.
(output_operand_type): Likewise.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
* i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,

View file

@ -713,6 +713,9 @@ output_cpu_flags (FILE *table, bitfield *flags, unsigned int size,
for (i = 0; i < size - 1; i++)
{
if (((i + 1) % 20) != 0)
fprintf (table, "%d, ", flags[i].value);
else
fprintf (table, "%d,", flags[i].value);
if (((i + 1) % 20) == 0)
{
@ -801,6 +804,9 @@ output_opcode_modifier (FILE *table, bitfield *modifier, unsigned int size)
for (i = 0; i < size - 1; i++)
{
if (((i + 1) % 20) != 0)
fprintf (table, "%d, ", modifier[i].value);
else
fprintf (table, "%d,", modifier[i].value);
if (((i + 1) % 20) == 0)
fprintf (table, "\n ");
@ -842,6 +848,9 @@ output_operand_type (FILE *table, bitfield *types, unsigned int size,
for (i = 0; i < size - 1; i++)
{
if (((i + 1) % 20) != 0)
fprintf (table, "%d, ", types[i].value);
else
fprintf (table, "%d,", types[i].value);
if (((i + 1) % 20) == 0)
{