Commit 765b8f90 by Jeff Law Committed by Jeff Law

i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.

        * i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
        (ia32_multipass_dfa_lookahead): New function.

From-SVN: r53427
parent e4723404
2002-05-13 Jeffrey A Law (law@redhat.com)
* i386.c (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
(ia32_multipass_dfa_lookahead): New function.
2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk> 2002-05-13 Neil Booth <neil@daikokuya.demon.co.uk>
* gcc.c (SWITCH_TAKES_ARG): Remove 'V'. * gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
......
...@@ -48,6 +48,8 @@ static int ia32_use_dfa_pipeline_interface PARAMS ((void)); ...@@ -48,6 +48,8 @@ static int ia32_use_dfa_pipeline_interface PARAMS ((void));
#undef TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE #undef TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE
#define TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE ia32_use_dfa_pipeline_interface #define TARGET_SCHED_USE_DFA_PIPELINE_INTERFACE ia32_use_dfa_pipeline_interface
#undef TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD
#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD ia32_multipass_dfa_lookahead
static int static int
ia32_use_dfa_pipeline_interface () ia32_use_dfa_pipeline_interface ()
...@@ -57,6 +59,19 @@ ia32_use_dfa_pipeline_interface () ...@@ -57,6 +59,19 @@ ia32_use_dfa_pipeline_interface ()
return 0; return 0;
} }
/* How many alternative schedules to try. This should be as wide as the
scheduling freedom in the DFA, but no wider. Making this value too
large results extra work for the scheduler. */
static int
ia32_multipass_dfa_lookahead ()
{
if (ix86_cpu == PROCESSOR_PENTIUM)
return 2;
else
return 0;
}
#ifndef CHECK_STACK_LIMIT #ifndef CHECK_STACK_LIMIT
#define CHECK_STACK_LIMIT (-1) #define CHECK_STACK_LIMIT (-1)
#endif #endif
......
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