Re: [PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-14 Thread Richard Biener
On Tue, Dec 12, 2017 at 1:42 PM, Bin.Cheng wrote: > On Fri, Dec 8, 2017 at 2:40 PM, Richard Biener > wrote: >> On Fri, Dec 8, 2017 at 1:43 PM, Bin.Cheng wrote: >>> On Fri, Dec 8, 2017 at 12:17 PM, Richard Biener >>>

Re: [PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-12 Thread Bin.Cheng
On Fri, Dec 8, 2017 at 2:40 PM, Richard Biener wrote: > On Fri, Dec 8, 2017 at 1:43 PM, Bin.Cheng wrote: >> On Fri, Dec 8, 2017 at 12:17 PM, Richard Biener >> wrote: >>> On Fri, Dec 8, 2017 at 12:46 PM, Bin Cheng

Re: [PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-08 Thread Bin.Cheng
On Fri, Dec 8, 2017 at 3:18 PM, Bin.Cheng wrote: > On Fri, Dec 8, 2017 at 2:40 PM, Richard Biener > wrote: >> On Fri, Dec 8, 2017 at 1:43 PM, Bin.Cheng wrote: >>> On Fri, Dec 8, 2017 at 12:17 PM, Richard Biener >>>

Re: [PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-08 Thread Bin.Cheng
On Fri, Dec 8, 2017 at 2:40 PM, Richard Biener wrote: > On Fri, Dec 8, 2017 at 1:43 PM, Bin.Cheng wrote: >> On Fri, Dec 8, 2017 at 12:17 PM, Richard Biener >> wrote: >>> On Fri, Dec 8, 2017 at 12:46 PM, Bin Cheng

Re: [PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-08 Thread Richard Biener
On Fri, Dec 8, 2017 at 1:43 PM, Bin.Cheng wrote: > On Fri, Dec 8, 2017 at 12:17 PM, Richard Biener > wrote: >> On Fri, Dec 8, 2017 at 12:46 PM, Bin Cheng wrote: >>> Hi, >>> This simple patch makes interchange even more

Re: [PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-08 Thread Bin.Cheng
On Fri, Dec 8, 2017 at 12:17 PM, Richard Biener wrote: > On Fri, Dec 8, 2017 at 12:46 PM, Bin Cheng wrote: >> Hi, >> This simple patch makes interchange even more conservative for small loops >> with constant initialized simple reduction. >> The

Re: [PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-08 Thread Richard Biener
On Fri, Dec 8, 2017 at 12:46 PM, Bin Cheng wrote: > Hi, > This simple patch makes interchange even more conservative for small loops > with constant initialized simple reduction. > The reason is undoing such reduction introduces new data reference and > cond_expr, which could

[PATCH GCC]More conservative interchanging small loops with const initialized simple reduction

2017-12-08 Thread Bin Cheng
Hi, This simple patch makes interchange even more conservative for small loops with constant initialized simple reduction. The reason is undoing such reduction introduces new data reference and cond_expr, which could cost too much in a small loop. Test gcc.target/aarch64/pr62178.c is fixed with