[haifa-sched] model load/store multiples properly in autoprefetcher scheduling
authorktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Oct 2015 09:23:07 +0000 (09:23 +0000)
committerktkachov <ktkachov@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 19 Oct 2015 09:23:07 +0000 (09:23 +0000)
commite1604eeae14621984aef6b2ac68059676b37be14
tree28d9759757f90c9e8bdef847447a24705e156f03
parent7abf94848cc62bd0f5bb0a0f57a6051bdbc35940
[haifa-sched] model load/store multiples properly in autoprefetcher scheduling

* sched-int.h (struct autopref_multipass_data_): Remove offset
field.  Add min_offset, max_offset, multi_mem_insn_p fields.
* haifa-sched.c (analyze_set_insn_for_autopref): New function.
(autopref_multipass_init): Use it.  Handle PARALLEL sets.
(autopref_rank_data): New function.
(autopref_rank_for_schedule): Use it.
(autopref_multipass_dfa_lookahead_guard_1): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228962 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-int.h