Re: [PATCH GCC][4/5]Improve loop distribution to handle hmmer

2017-06-08 Thread Bin.Cheng
On Thu, Jun 8, 2017 at 3:48 AM, kugan wrote: > Hi Bin, > >> + >> +/* In reduced dependence graph RDG for loop distribution, return true if >> + dependence between references DR1 and DR2 may create dependence cycle >> + and such dependence cycle can't be resolved by runtime alias check. >> */ >

Re: [PATCH GCC][4/5]Improve loop distribution to handle hmmer

2017-06-07 Thread kugan
Hi Bin, + +/* In reduced dependence graph RDG for loop distribution, return true if + dependence between references DR1 and DR2 may create dependence cycle + and such dependence cycle can't be resolved by runtime alias check. */ + +static bool +possible_data_dep_cycle_p (struct graph *rdg,

Re: [PATCH GCC][4/5]Improve loop distribution to handle hmmer

2017-06-07 Thread Bin.Cheng
On Wed, Jun 7, 2017 at 11:03 AM, Richard Biener wrote: > On Fri, Jun 2, 2017 at 1:51 PM, Bin Cheng wrote: >> Hi, >> This is the main patch of the change. It improves loop distribution by >> versioning loop under >> runtime alias check conditions, as well as better partition fusion. As >> desc

Re: [PATCH GCC][4/5]Improve loop distribution to handle hmmer

2017-06-07 Thread Richard Biener
On Fri, Jun 2, 2017 at 1:51 PM, Bin Cheng wrote: > Hi, > This is the main patch of the change. It improves loop distribution by > versioning loop under > runtime alias check conditions, as well as better partition fusion. As > described in comments, > the patch basically implements distributio

Re: [PATCH GCC][4/5]Improve loop distribution to handle hmmer

2017-06-05 Thread Bin.Cheng
On Mon, Jun 5, 2017 at 5:21 AM, Kugan Vivekanandarajah wrote: > Hi Bin, > > Thanks for posting the patch. I haven't looked in detail yet but have > couple of quick questions. > > 1. Shouldn’t the run time alias check for versioning happen only when > vectorisation is enabled? You seems to be using

Re: [PATCH GCC][4/5]Improve loop distribution to handle hmmer

2017-06-04 Thread Kugan Vivekanandarajah
Hi Bin, Thanks for posting the patch. I haven't looked in detail yet but have couple of quick questions. 1. Shouldn’t the run time alias check for versioning happen only when vectorisation is enabled? You seems to be using the IFN_LOOP_DIST_ALIAS when vectoring but seems to be versioning otherwis

[PATCH GCC][4/5]Improve loop distribution to handle hmmer

2017-06-02 Thread Bin Cheng
Hi, This is the main patch of the change. It improves loop distribution by versioning loop under runtime alias check conditions, as well as better partition fusion. As described in comments, the patch basically implements distribution in the following steps: 1) Seed partitions with specif