Re: [PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-23 Thread Bin.Cheng
On Fri, Jun 23, 2017 at 11:48 AM, Richard Biener wrote: > On Fri, Jun 23, 2017 at 12:19 PM, Bin.Cheng wrote: >> On Mon, Jun 19, 2017 at 4:20 PM, Richard Biener >> wrote: >>> On Mon, Jun 19, 2017 at 3:40 PM, Bin.Cheng

Re: [PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-23 Thread Richard Biener
On Fri, Jun 23, 2017 at 12:19 PM, Bin.Cheng wrote: > On Mon, Jun 19, 2017 at 4:20 PM, Richard Biener > wrote: >> On Mon, Jun 19, 2017 at 3:40 PM, Bin.Cheng wrote: >>> On Wed, Jun 14, 2017 at 2:54 PM, Richard Biener >>>

Re: [PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-23 Thread Bin.Cheng
On Mon, Jun 19, 2017 at 4:20 PM, Richard Biener wrote: > On Mon, Jun 19, 2017 at 3:40 PM, Bin.Cheng wrote: >> On Wed, Jun 14, 2017 at 2:54 PM, Richard Biener >> wrote: >>> On Mon, Jun 12, 2017 at 7:03 PM, Bin Cheng

Re: [PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-19 Thread Richard Biener
On Mon, Jun 19, 2017 at 3:40 PM, Bin.Cheng wrote: > On Wed, Jun 14, 2017 at 2:54 PM, Richard Biener > wrote: >> On Mon, Jun 12, 2017 at 7:03 PM, Bin Cheng wrote: >>> Hi, >>> Current primitive cost model merges partitions with

Re: [PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-19 Thread Bin.Cheng
On Wed, Jun 14, 2017 at 2:54 PM, Richard Biener wrote: > On Mon, Jun 12, 2017 at 7:03 PM, Bin Cheng wrote: >> Hi, >> Current primitive cost model merges partitions with data references sharing >> the same >> base address. I believe it's designed

Re: [PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-14 Thread Bin.Cheng
On Wed, Jun 14, 2017 at 2:54 PM, Richard Biener wrote: > On Mon, Jun 12, 2017 at 7:03 PM, Bin Cheng wrote: >> Hi, >> Current primitive cost model merges partitions with data references sharing >> the same >> base address. I believe it's designed

Re: [PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-14 Thread Richard Biener
On Mon, Jun 12, 2017 at 7:03 PM, Bin Cheng wrote: > Hi, > Current primitive cost model merges partitions with data references sharing > the same > base address. I believe it's designed to maximize data reuse in > distribution, but > that should be done by dedicated data

[PATCH GCC][09/13]Simply cost model merges partitions with the same references

2017-06-12 Thread Bin Cheng
Hi, Current primitive cost model merges partitions with data references sharing the same base address. I believe it's designed to maximize data reuse in distribution, but that should be done by dedicated data reusing algorithm. At this stage of merging, we should be conservative and only