diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2006-04-14 00:07:48 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2006-04-14 00:07:48 +0000 |
commit | 6f8dd94be5f328e2f6d90a27693880a06a24166c (patch) | |
tree | 1e3098020ab398649c1a04be50d0f957cd26cdab /gcc/params.h | |
parent | 777f7f9a72532980c1b5cfa05a7a1f032807f10f (diff) | |
download | gcc-6f8dd94be5f328e2f6d90a27693880a06a24166c.zip gcc-6f8dd94be5f328e2f6d90a27693880a06a24166c.tar.gz gcc-6f8dd94be5f328e2f6d90a27693880a06a24166c.tar.bz2 |
params.def (PARAM_MAX_SCHED_READY_INSNS): New parameter, defaulting to 100.
* params.def (PARAM_MAX_SCHED_READY_INSNS): New parameter,
defaulting to 100.
* params.h (MAX_SCHED_READY_INSNS): New macro.
* haifa-sched.c: (queue_to_ready): Re-queue insns for the next cycle
past MAX_SCHED_READY_INSNS during the first scheduling pass.
(schedule_block): Delay insns past MAX_SCHED_READY_INSNS in
the ready list for 1 cycle during the first scheduling pass.
* doc/invoke.texi (--param): New parameter max-sched-ready-insns.
From-SVN: r112936
Diffstat (limited to 'gcc/params.h')
-rw-r--r-- | gcc/params.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/params.h b/gcc/params.h index aafafe1..32c9c8c 100644 --- a/gcc/params.h +++ b/gcc/params.h @@ -149,4 +149,6 @@ typedef enum compiler_param PARAM_VALUE (PARAM_VIRTUAL_MAPPINGS_TO_SYMS_RATIO) #define MAX_FIELDS_FOR_FIELD_SENSITIVE \ ((size_t) PARAM_VALUE (PARAM_MAX_FIELDS_FOR_FIELD_SENSITIVE)) +#define MAX_SCHED_READY_INSNS \ + PARAM_VALUE (PARAM_MAX_SCHED_READY_INSNS) #endif /* ! GCC_PARAMS_H */ |