+2002-04-15 David S. Miller <davem@redhat.com>
+
+ * config/sparc/sparc.c (sparc_emit_float_lib_cmp):
+ Call emit_library_call with LCT_NORMAL.
+ (sparc_initialize_trampoline): Use LCT_foo instead of
+ magic constant in emit_library_call invocations.
+ (sparc64_initialize_trampoline): Likewise.
+ (sparc_profile_hook): Likewise.
+ * config/sparc/sparc.md: Likewise.
+
+ * config/sparc/sparc.c (sparc_extra_constraint_check):
+ Fix type of argument 'c'.
+ * config/sparc/sparc-protos.h (sparc_extra_constraint_check):
+ Likewise.
+
2002-04-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* diagnostic.h (output_buffer_state): Redefine.
32 bits of REG are 0 before INSN. */
extern int sparc_check_64 PARAMS ((rtx, rtx));
extern rtx gen_df_reg PARAMS ((rtx, int));
-extern int sparc_extra_constraint_check PARAMS ((rtx, char, int));
+extern int sparc_extra_constraint_check PARAMS ((rtx, int, int));
#endif /* RTX_CODE */
#endif /* __SPARC_PROTOS_H__ */
else
slot1 = y;
- emit_library_call (gen_rtx_SYMBOL_REF (Pmode, qpfunc), 1,
+ emit_library_call (gen_rtx_SYMBOL_REF (Pmode, qpfunc), LCT_NORMAL,
DImode, 2,
XEXP (slot0, 0), Pmode,
XEXP (slot1, 0), Pmode);
}
else
{
- emit_library_call (gen_rtx_SYMBOL_REF (Pmode, qpfunc), 1,
+ emit_library_call (gen_rtx_SYMBOL_REF (Pmode, qpfunc), LCT_NORMAL,
SImode, 2,
x, TFmode, y, TFmode);
*/
#ifdef TRANSFER_FROM_TRAMPOLINE
emit_library_call (gen_rtx (SYMBOL_REF, Pmode, "__enable_execute_stack"),
- 0, VOIDmode, 1, tramp, Pmode);
+ LCT_NORMAL, VOIDmode, 1, tramp, Pmode);
#endif
emit_move_insn
{
#ifdef TRANSFER_FROM_TRAMPOLINE
emit_library_call (gen_rtx (SYMBOL_REF, Pmode, "__enable_execute_stack"),
- 0, VOIDmode, 1, tramp, Pmode);
+ LCT_NORMAL, VOIDmode, 1, tramp, Pmode);
#endif
/*
lab = gen_rtx_SYMBOL_REF (Pmode, ggc_strdup (buf));
fun = gen_rtx_SYMBOL_REF (Pmode, MCOUNT_FUNCTION);
- emit_library_call (fun, 0, VOIDmode, 1, lab, Pmode);
+ emit_library_call (fun, LCT_NORMAL, VOIDmode, 1, lab, Pmode);
}
\f
/* Mark ARG, which is really a struct ultrasparc_pipline_state *, for
int
sparc_extra_constraint_check (op, c, strict)
rtx op;
- char c;
+ int c;
int strict;
{
int reload_ok_mem;
else
slot0 = operands[0];
- emit_library_call (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_stoq\"), 0,
+ emit_library_call (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_stoq\"), LCT_NORMAL,
VOIDmode, 2,
XEXP (slot0, 0), Pmode,
operands[1], SFmode);
else
slot0 = operands[0];
- emit_library_call (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_dtoq\"), 0,
+ emit_library_call (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_dtoq\"), LCT_NORMAL,
VOIDmode, 2,
XEXP (slot0, 0), Pmode,
operands[1], DFmode);
slot0 = operands[1];
emit_library_call_value (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_qtos\"),
- operands[0], 0, SFmode, 1,
+ operands[0], LCT_NORMAL, SFmode, 1,
XEXP (slot0, 0), Pmode);
DONE;
}
slot0 = operands[1];
emit_library_call_value (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_qtod\"),
- operands[0], 0, DFmode, 1,
+ operands[0], LCT_NORMAL, DFmode, 1,
XEXP (slot0, 0), Pmode);
DONE;
}
slot0 = operands[1];
emit_library_call_value (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_qtoi\"),
- operands[0], 0, SImode, 1,
+ operands[0], LCT_NORMAL, SImode, 1,
XEXP (slot0, 0), Pmode);
DONE;
}
slot0 = operands[1];
emit_library_call_value (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_qtoui\"),
- operands[0], 0, SImode, 1,
+ operands[0], LCT_NORMAL, SImode, 1,
XEXP (slot0, 0), Pmode);
DONE;
}")
slot0 = operands[1];
emit_library_call_value (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_qtox\"),
- operands[0], 0, DImode, 1,
+ operands[0], LCT_NORMAL, DImode, 1,
XEXP (slot0, 0), Pmode);
DONE;
}
slot0 = operands[1];
emit_library_call_value (gen_rtx (SYMBOL_REF, Pmode, \"_Qp_qtoux\"),
- operands[0], 0, DImode, 1,
+ operands[0], LCT_NORMAL, DImode, 1,
XEXP (slot0, 0), Pmode);
DONE;
}")