linux.c: Use fputs or putc instead of fprintf where appropriate.
* config/i386/linux.c: Use fputs or putc instead of fprintf where appropriate. * config/i386/gas.h: Ditto. * config/i386/x86-64.h: Ditto. * config/i386/att.h: Ditto. From-SVN: r150062
This commit is contained in:
parent
fcbaa582da
commit
87da38430a
@ -1,3 +1,11 @@
|
||||
2009-07-24 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/linux.c: Use fputs or putc instead of fprintf
|
||||
where appropriate.
|
||||
* config/i386/gas.h: Ditto.
|
||||
* config/i386/x86-64.h: Ditto.
|
||||
* config/i386/att.h: Ditto.
|
||||
|
||||
2009-07-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||
|
||||
* expmed.c (emit_store_flag): Use a recursive call to optimize the
|
||||
@ -83,7 +91,8 @@
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_vector_reload): New static global
|
||||
for vector secondary reload support.
|
||||
(rs6000_vector_reg_class): Delete, replacing it with rs6000_constraints.
|
||||
(rs6000_vector_reg_class): Delete, replacing it with
|
||||
rs6000_constraints.
|
||||
(rs6000_vsx_reg_class): Ditto.
|
||||
(rs6000_constraints): New array to hold the register classes of
|
||||
each of the register constraints that can vary at runtime.
|
||||
|
@ -42,11 +42,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
do \
|
||||
{ size_t i = 0, limit = (SIZE); \
|
||||
while (i < limit) \
|
||||
{ if (i%10 == 0) { if (i!=0) fprintf ((FILE), "\n"); \
|
||||
{ if (i%10 == 0) { if (i!=0) putc ('\n', (FILE)); \
|
||||
fputs ("\t.byte\t", (FILE)); } \
|
||||
else fprintf ((FILE), ","); \
|
||||
else putc (',', (FILE)); \
|
||||
fprintf ((FILE), "0x%x", ((PTR)[i++] & 0377)) ;} \
|
||||
fprintf ((FILE), "\n"); \
|
||||
putc ('\n', (FILE)); \
|
||||
} while (0)
|
||||
|
||||
/* Output at beginning of assembler file. */
|
||||
@ -83,7 +83,7 @@ do \
|
||||
|
||||
#undef ASM_GENERATE_INTERNAL_LABEL
|
||||
#define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
|
||||
sprintf ((BUF), "%s%s%ld", LOCAL_LABEL_PREFIX, (PREFIX), (long)(NUMBER))
|
||||
sprintf ((BUF), LOCAL_LABEL_PREFIX "%s%ld", (PREFIX), (long)(NUMBER))
|
||||
|
||||
/* The prefix to add to user-visible assembler symbols. */
|
||||
|
||||
|
@ -95,12 +95,12 @@ along with GCC; see the file COPYING3. If not see
|
||||
{ \
|
||||
if ((PTR)[3] == 'z') \
|
||||
{ \
|
||||
fprintf (STREAM, "repe"); \
|
||||
fputs ("repe", (STREAM)); \
|
||||
(PTR) += 4; \
|
||||
} \
|
||||
else if ((PTR)[3] == 'n' && (PTR)[4] == 'z') \
|
||||
{ \
|
||||
fprintf (STREAM, "repne"); \
|
||||
fputs ("repne", (STREAM)); \
|
||||
(PTR) += 5; \
|
||||
} \
|
||||
} \
|
||||
|
@ -4201,7 +4201,7 @@ x86_elf_aligned_common (FILE *file,
|
||||
else
|
||||
fputs (COMMON_ASM_OP, file);
|
||||
assemble_name (file, name);
|
||||
fprintf (file, ","HOST_WIDE_INT_PRINT_UNSIGNED",%u\n",
|
||||
fprintf (file, "," HOST_WIDE_INT_PRINT_UNSIGNED ",%u\n",
|
||||
size, align / BITS_PER_UNIT);
|
||||
}
|
||||
#endif
|
||||
@ -11818,7 +11818,7 @@ print_operand (FILE *file, rtx x, int code)
|
||||
char dstr[30];
|
||||
|
||||
real_to_decimal (dstr, CONST_DOUBLE_REAL_VALUE (x), sizeof (dstr), 0, 1);
|
||||
fprintf (file, "%s", dstr);
|
||||
fputs (dstr, file);
|
||||
}
|
||||
|
||||
else
|
||||
|
@ -156,7 +156,7 @@ along with GCC; see the file COPYING3. If not see
|
||||
if ((LOG) > 3 \
|
||||
&& (1 << (LOG)) > ((MAX_SKIP) + 1) \
|
||||
&& (MAX_SKIP) >= 7) \
|
||||
fprintf ((FILE), "\t.p2align 3\n"); \
|
||||
fputs ("\t.p2align 3\n", (FILE)); \
|
||||
} \
|
||||
} \
|
||||
} while (0)
|
||||
|
@ -77,7 +77,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||
if ((LOG) > 3 \
|
||||
&& (1 << (LOG)) > ((MAX_SKIP) + 1) \
|
||||
&& (MAX_SKIP) >= 7) \
|
||||
fprintf ((FILE), "\t.p2align 3\n"); \
|
||||
fputs ("\t.p2align 3\n", (FILE)); \
|
||||
} \
|
||||
} \
|
||||
} while (0)
|
||||
|
Loading…
Reference in New Issue
Block a user