Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-25 Thread Richard Henderson
On 2013-04-25 09:18, Uros Bizjak wrote: Yes, this patch will work up to building libstdc++, where it will fail with the same reason on movqi pattern (on non-BWX target). I suspect that QImode access is generated during LRA (where reload_in_progress is false!) and it directly generates movqi, whic

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-25 Thread Uros Bizjak
On Thu, Apr 25, 2013 at 10:04 AM, Chung-Ju Wu wrote: >> * config/alpha/alpha.c (TARGET_LRA_P): New define. >> >> Bootstrapped and regression tested [1] on alphaev68-unknown-linux-gnu. >> >> OK for 4.9? >> > > Yep. Unfortunately, alphas are m

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-25 Thread Chung-Ju Wu
2013/4/23 Vladimir Makarov : > On 13-04-22 2:19 PM, Steven Bosscher wrote: >> >> On Mon, Apr 22, 2013 at 7:33 PM, Jeff Law wrote: >>> >>> On 04/22/2013 11:17 AM, Uros Bizjak wrote: On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson wrote: > > On 01/28/2013 03:14 PM, Uros Bi

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-25 Thread Chung-Ju Wu
2013/4/23 Steven Bosscher : > On Mon, Apr 22, 2013 at 7:33 PM, Jeff Law wrote: >> On 04/22/2013 11:17 AM, Uros Bizjak wrote: >>> >>> On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson >>> wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: > > > 2013-01-28 Uros Bizjak > >

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-22 Thread Vladimir Makarov
On 13-04-22 3:35 PM, Uros Bizjak wrote: On Mon, Apr 22, 2013 at 9:17 PM, Vladimir Makarov wrote: I never tried alpha with LRA. So it is not assumed that LRA should work on alpha. But I am sure LRA can work for alpha if some efforts will be spent. Porting LRA to a new target always involves ch

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-22 Thread Uros Bizjak
On Mon, Apr 22, 2013 at 9:17 PM, Vladimir Makarov wrote: > > I never tried alpha with LRA. So it is not assumed that LRA should work on > alpha. But I am sure LRA can work for alpha if some efforts will be spent. > Porting LRA to a new target always involves changes in .md and > machine-dependen

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-22 Thread Vladimir Makarov
On 13-04-22 2:19 PM, Steven Bosscher wrote: On Mon, Apr 22, 2013 at 7:33 PM, Jeff Law wrote: On 04/22/2013 11:17 AM, Uros Bizjak wrote: On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros Bizjak * config/alpha/alp

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-22 Thread Steven Bosscher
On Mon, Apr 22, 2013 at 7:33 PM, Jeff Law wrote: > On 04/22/2013 11:17 AM, Uros Bizjak wrote: >> >> On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson >> wrote: >>> >>> On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros Bizjak * config/alpha/alpha.c (TAR

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-22 Thread Uros Bizjak
On Mon, Apr 22, 2013 at 7:33 PM, Jeff Law wrote: >> Unfortunately, alphas are much more tied to reload than it was hoped. >> While latest alphas (with FIX and BWX ISAs) survived transition to LRA >> without problems, further testing on ev4 and ev5 triggered various >> problems, one of them is PR5

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-22 Thread Jeff Law
On 04/22/2013 11:17 AM, Uros Bizjak wrote: On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros Bizjak * config/alpha/alpha.c (TARGET_LRA_P): New define. Bootstrapped and regression tested [1] on alphaev68-unknown-li

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-04-22 Thread Uros Bizjak
On Tue, Jan 29, 2013 at 12:34 AM, Richard Henderson wrote: > On 01/28/2013 03:14 PM, Uros Bizjak wrote: >> >> 2013-01-28 Uros Bizjak >> >> * config/alpha/alpha.c (TARGET_LRA_P): New define. >> >> Bootstrapped and regression tested [1] on alphaev68-unknown-linux-gnu. >> >> OK for 4.9? >> >

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-01-28 Thread Jeff Law
On 01/28/2013 04:14 PM, Uros Bizjak wrote: Hello! 2013-01-28 Uros Bizjak * config/alpha/alpha.c (TARGET_LRA_P): New define. Bootstrapped and regression tested [1] on alphaev68-unknown-linux-gnu. OK for 4.9? [1] http://gcc.gnu.org/ml/gcc-testresults/2013-01/msg02998.html Can you a

Re: [4.9 PATCH, alpha]: Switch alpha to LRA

2013-01-28 Thread Richard Henderson
On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros Bizjak * config/alpha/alpha.c (TARGET_LRA_P): New define. Bootstrapped and regression tested [1] on alphaev68-unknown-linux-gnu. OK for 4.9? Yep. r~

[4.9 PATCH, alpha]: Switch alpha to LRA

2013-01-28 Thread Uros Bizjak
Hello! 2013-01-28 Uros Bizjak * config/alpha/alpha.c (TARGET_LRA_P): New define. Bootstrapped and regression tested [1] on alphaev68-unknown-linux-gnu. OK for 4.9? [1] http://gcc.gnu.org/ml/gcc-testresults/2013-01/msg02998.html Uros. Index: config/alpha/alpha.c ===