Re: Make vectoriser use operand_equal_p to compare base addresses

2012-05-15 Thread H.J. Lu
On Tue, Apr 19, 2011 at 7:59 AM, Richard Sandiford wrote: > In the attached testcase, we treat: > >    sum += x[i][0] * x[i][0] + x[i][1] * x[i][1]; > > as being two independent strided loads: x[i][0] and x[i][1]. > On targets with appropriate support, we therefore use two interleaved > loads rath

Re: Make vectoriser use operand_equal_p to compare base addresses

2011-04-19 Thread Richard Guenther
On Tue, Apr 19, 2011 at 4:59 PM, Richard Sandiford wrote: > In the attached testcase, we treat: > >    sum += x[i][0] * x[i][0] + x[i][1] * x[i][1]; > > as being two independent strided loads: x[i][0] and x[i][1]. > On targets with appropriate support, we therefore use two interleaved > loads rath