Commit eb29ddb6 by David S. Miller Committed by David S. Miller

sparc.c (sparc_emit_float_lib_cmp): Call emit_library_call with LCT_NORMAL.

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.

From-SVN: r52321
parent 10aa83c7
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.
......
......@@ -117,7 +117,7 @@ extern char *sparc_v8plus_shift PARAMS ((rtx *, rtx, const char *));
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__ */
......@@ -5374,7 +5374,7 @@ sparc_emit_float_lib_cmp (x, y, comparison)
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);
......@@ -5383,7 +5383,7 @@ sparc_emit_float_lib_cmp (x, y, comparison)
}
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);
......@@ -6391,7 +6391,7 @@ sparc_initialize_trampoline (tramp, fnaddr, cxt)
*/
#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
......@@ -6442,7 +6442,7 @@ sparc64_initialize_trampoline (tramp, fnaddr, cxt)
{
#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
/*
......@@ -8547,7 +8547,7 @@ sparc_profile_hook (labelno)
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);
}
/* Mark ARG, which is really a struct ultrasparc_pipline_state *, for
......@@ -8613,7 +8613,7 @@ sparc_elf_asm_named_section (name, flags)
int
sparc_extra_constraint_check (op, c, strict)
rtx op;
char c;
int c;
int strict;
{
int reload_ok_mem;
......
......@@ -5031,7 +5031,7 @@
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);
......@@ -5066,7 +5066,7 @@
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);
......@@ -5114,7 +5114,7 @@
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;
}
......@@ -5148,7 +5148,7 @@
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;
}
......@@ -5360,7 +5360,7 @@
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;
}
......@@ -5390,7 +5390,7 @@
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;
}")
......@@ -5432,7 +5432,7 @@
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;
}
......@@ -5462,7 +5462,7 @@
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;
}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment