frv.c (frv_use_dfa_pipeline_interface): New function.

* config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
	(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.

From-SVN: r72018
This commit is contained in:
Richard Sandiford 2003-10-02 08:22:02 +00:00 committed by Richard Sandiford
parent 40de9f7604
commit ffb344c1a1
2 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-10-02 Richard Sandiford <rsandifo@redhat.com>
* config/frv/frv.c (frv_use_dfa_pipeline_interface): New function.
(TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE): Define.
2003-10-01 Per Bothner <pbothner@apple.com>
* c-lex.c (src_line): Remove unneeded static variable.

View File

@ -272,6 +272,7 @@ static int frv_registers_used_p PARAMS ((rtx, unsigned char [],
int));
static int frv_registers_set_p PARAMS ((rtx, unsigned char [],
int));
static int frv_use_dfa_pipeline_interface PARAMS ((void));
static void frv_pack_insns PARAMS ((void));
static void frv_function_prologue PARAMS ((FILE *, HOST_WIDE_INT));
static void frv_function_epilogue PARAMS ((FILE *, HOST_WIDE_INT));
@ -313,6 +314,9 @@ static void frv_asm_out_destructor PARAMS ((rtx, int));
#undef TARGET_ASM_CAN_OUTPUT_MI_THUNK
#define TARGET_ASM_CAN_OUTPUT_MI_THUNK default_can_output_mi_thunk_no_vcall
#undef TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE
#define TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE frv_use_dfa_pipeline_interface
struct gcc_target targetm = TARGET_INITIALIZER;
/* Given a CONST, return true if the symbol_ref points to small data. */
@ -8190,7 +8194,14 @@ frv_init_machine_status ()
{
return ggc_alloc_cleared (sizeof (struct machine_function));
}
/* Implement TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE. */
static int
frv_use_dfa_pipeline_interface (void)
{
return true;
}
/* Update the register state information, to know about which registers are set
or clobbered. */