Re: patch to enable LRA for ppc

2013-10-22 Thread Vladimir Makarov
On 13-10-22 10:21 AM, David Edelsohn wrote: On Mon, Oct 21, 2013 at 10:42 PM, Vladimir Makarov wrote: I would say lets add -mlra, but make the default OFF for the time being. We can always switch the default later. Sure, if you know some LRA problems it should not be on default. Moreover, if

Re: patch to enable LRA for ppc

2013-10-22 Thread Michael Meissner
On Tue, Oct 22, 2013 at 10:21:32AM -0400, David Edelsohn wrote: > On Mon, Oct 21, 2013 at 10:42 PM, Vladimir Makarov > wrote: > > >> I would say lets add -mlra, but make the default OFF for the time being. > >> We > >> can always switch the default later. > > > > Sure, if you know some LRA probl

Re: patch to enable LRA for ppc

2013-10-22 Thread David Edelsohn
On Mon, Oct 21, 2013 at 10:42 PM, Vladimir Makarov wrote: >> I would say lets add -mlra, but make the default OFF for the time being. >> We >> can always switch the default later. > > Sure, if you know some LRA problems it should not be on default. Moreover, > if we still have the problems when r

Re: patch to enable LRA for ppc

2013-10-21 Thread Vladimir Makarov
On 13-10-21 2:55 PM, Michael Meissner wrote: On Mon, Oct 21, 2013 at 08:18:22PM +0200, Steven Bosscher wrote: On Mon, Oct 21, 2013 at 5:51 PM, Michael Meissner wrote: What I'm doing is adding secondary reload support so that up until reload time, we can represent VSX addresses as reg+offset, an

Re: patch to enable LRA for ppc

2013-10-21 Thread Vladimir Makarov
On 13-10-21 11:51 AM, Michael Meissner wrote: On Sun, Oct 20, 2013 at 10:48:08PM -0400, Vladimir Makarov wrote: On 13-10-18 11:26 AM, David Edelsohn wrote: On Thu, Oct 3, 2013 at 5:02 PM, Vladimir Makarov wrote: The following patch permits today trunk to use LRA for ppc by default. To switch

Re: patch to enable LRA for ppc

2013-10-21 Thread Michael Meissner
On Mon, Oct 21, 2013 at 08:18:22PM +0200, Steven Bosscher wrote: > On Mon, Oct 21, 2013 at 5:51 PM, Michael Meissner wrote: > > What I'm doing is adding secondary reload support so that up until reload > > time, > > we can represent VSX addresses as reg+offset, and in secondary reload, > > create

Re: patch to enable LRA for ppc

2013-10-21 Thread Steven Bosscher
On Mon, Oct 21, 2013 at 5:51 PM, Michael Meissner wrote: > What I'm doing is adding secondary reload support so that up until reload > time, > we can represent VSX addresses as reg+offset, and in secondary reload, create > the addition instructions to put the offset in a base register. I haven't

Re: patch to enable LRA for ppc

2013-10-21 Thread Michael Meissner
On Sun, Oct 20, 2013 at 10:48:08PM -0400, Vladimir Makarov wrote: > On 13-10-18 11:26 AM, David Edelsohn wrote: > >On Thu, Oct 3, 2013 at 5:02 PM, Vladimir Makarov wrote: > >>The following patch permits today trunk to use LRA for ppc by default. > >>To switch it off -mno-lra can be used. > >> > >>

Re: patch to enable LRA for ppc

2013-10-20 Thread Vladimir Makarov
On 13-10-18 11:26 AM, David Edelsohn wrote: On Thu, Oct 3, 2013 at 5:02 PM, Vladimir Makarov wrote: The following patch permits today trunk to use LRA for ppc by default. To switch it off -mno-lra can be used. The patch was bootstrapped on ppc64. GCC testsuite does not have regressions too (i

Re: patch to enable LRA for ppc

2013-10-18 Thread David Edelsohn
On Thu, Oct 3, 2013 at 5:02 PM, Vladimir Makarov wrote: > The following patch permits today trunk to use LRA for ppc by default. > To switch it off -mno-lra can be used. > > The patch was bootstrapped on ppc64. GCC testsuite does not have > regressions too (in comparison with reload). The change

patch to enable LRA for ppc

2013-10-03 Thread Vladimir Makarov
The following patch permits today trunk to use LRA for ppc by default. To switch it off -mno-lra can be used. The patch was bootstrapped on ppc64. GCC testsuite does not have regressions too (in comparison with reload). The change in rs6000.md is for fix LRA failure on a recently added ppc test