diff options
author | dorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-09 09:08:37 +0000 |
---|---|---|
committer | dorit <dorit@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-10-09 09:08:37 +0000 |
commit | 52c4b43f6b1a276c2c433f9aae10bf0568173f69 (patch) | |
tree | cf4b5b0d6fa071cfa3bd81035f628ab846f4673e /gcc/common.opt | |
parent | d1a8f235fa6917dc007bd5136302f8d7a8c5614c (diff) | |
download | gcc-52c4b43f6b1a276c2c433f9aae10bf0568173f69.tar.gz |
* haifa-sched.c (ok_for_early_schedule): New function.
(early_queue_to_ready): New function.
(schedule_block): Allow early removal of insns from Q.
(schedule_insn): Update INSN_TICK in case of premature
issue.
* common.opt (sched_stalled_insns): New flag.
(sched_stalled_insns_dep): New flag.
* flags.h: Same above flags.
* opts.c: Same as above.
* toplev.c: Same as above.
* target.h (targetm.sched.is_costly_dependence): New
hook.
* target-def.h: Same as above.
* config/rs6000/rs6000.h: (rs6000_sched_costly_dep):
Support new flag -msched-costly-dep.
(DEFAULT_SCHED_COSTLY_DEP): Define.
* config/rs6000/rs6000.c:
(rs6000_is_costly_dependence): New function.
(is_load_insn, is_store_insn): New functions.
(is_load_insn1, is_store_insn1, is_mem_ref): New
functions.
* doc/invoke.texi (-fsched-stalled-insns-dep)
(-fsched-stalled-insns, -msched-costly-dep): Document
options.
* doc/tm.texi (is_costly_dependence): Define new
scheduler target hook.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 68c37b0c696..ab1a69dcf4b 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -592,6 +592,22 @@ fschedule-insns2 Common Reschedule instructions after register allocation +fsched-stalled-insns +Common +Allow premature scheduling of queued insns + +fsched-stalled-insns= +Common RejectNegative Joined UInteger +-fsched-stalled-insns=<number> Set number of queued insns that can be prematurely scheduled + +fsched-stalled-insns-dep +Common +Set dependence distance checking in premature scheduling of queued insns + +fsched-stalled-insns-dep= +Common RejectNegative Joined UInteger +-fsched-stalled-insns-dep=<number> Set dependence distance checking in premature scheduling of queued insns + fshared-data Common Mark data as shared rather than private |