Hi Kugan, On 12/02/18 23:53, Kugan Vivekanandarajah wrote:
Adds a target hook TARGET_HW_MAX_MEM_READ_STREAMS. Loop unroller, if defined, will try to limit the unrolling factor based on this.
Could you elaborate a bit on this, in particular how is this different from the PARAM_SIMULTANEOUS_PREFETCHES param that describes "the number of prefetches that can run at the same time". The descriptions seem very similar to me... Incidentally, since this is expected to always be an integer, maybe make it into a param so it is consistent with the other prefetch-related tuning numbers? Thanks, Kyrill
gcc/ChangeLog: 2018-02-12 Kugan Vivekanandarajah <kug...@linaro.org> * doc/tm.texi.in (TARGET_HW_MAX_MEM_READ_STREAMS): Dcoument. * doc/tm.texi: Regenerate. * target.def (hw_max_mem_read_streams): New target hook.