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
This commit is contained in:
parent
e4723404c1
commit
765b8f90f4
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* gcc.c (SWITCH_TAKES_ARG): Remove 'V'.
|
||||
|
@ -48,6 +48,8 @@ static int ia32_use_dfa_pipeline_interface PARAMS ((void));
|
||||
|
||||
#undef TARGET_SCHED_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
|
||||
ia32_use_dfa_pipeline_interface ()
|
||||
@ -57,6 +59,19 @@ ia32_use_dfa_pipeline_interface ()
|
||||
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
|
||||
#define CHECK_STACK_LIMIT (-1)
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user