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

2013-04-25 Thread Chung-Ju Wu
2013/4/23 Steven Bosscher stevenb@gmail.com: 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 r...@redhat.com wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros

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

2013-04-25 Thread Chung-Ju Wu
2013/4/23 Vladimir Makarov vmaka...@redhat.com: 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 r...@redhat.com wrote: On 01/28/2013 03:14 PM, Uros

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 jasonw...@gmail.com 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 much more tied to reload than it was

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,

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 r...@redhat.com wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros Bizjakubiz...@gmail.com * config/alpha/alpha.c (TARGET_LRA_P): New define. Bootstrapped and regression tested [1] on alphaev68-unknown-linux-gnu.

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 r...@redhat.com wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros Bizjakubiz...@gmail.com * config/alpha/alpha.c (TARGET_LRA_P): New define. Bootstrapped and regression

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 l...@redhat.com 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

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 r...@redhat.com wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros Bizjakubiz...@gmail.com * config/alpha/alpha.c

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 r...@redhat.com wrote: On 01/28/2013 03:14 PM, Uros Bizjak wrote: 2013-01-28 Uros

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 vmaka...@redhat.com 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

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 vmaka...@redhat.com 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

[4.9 PATCH, alpha]: Switch alpha to LRA

2013-01-28 Thread Uros Bizjak
Hello! 2013-01-28 Uros Bizjak ubiz...@gmail.com * 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

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 Bizjakubiz...@gmail.com * 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~

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 ubiz...@gmail.com * config/alpha/alpha.c (TARGET_LRA_P): New define. Bootstrapped and regression tested [1] on alphaev68-unknown-linux-gnu. OK for 4.9? [1]