+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
* 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.
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. */
#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. */
{ \
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; \
} \
} \
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
char dstr[30];
real_to_decimal (dstr, CONST_DOUBLE_REAL_VALUE (x), sizeof (dstr), 0, 1);
- fprintf (file, "%s", dstr);
+ fputs (dstr, file);
}
else
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)
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)