Re: [patch 0/5] nios2 address mode improvements

2017-10-24 Thread Jeff Law
On 10/20/2017 02:56 AM, Jakub Jelinek wrote: > On Thu, Oct 19, 2017 at 08:03:45PM -0600, Sandra Loosemore wrote: >> A harder problem is that doing the high/lo_sum splitting in expand >> inhibits subsequent optimizations. One such problem arises when you >> have accesses to multiple fields in a

Re: [patch 0/5] nios2 address mode improvements

2017-10-24 Thread Jeff Law
On 10/19/2017 08:03 PM, Sandra Loosemore wrote: > This is the set of nios2 optimization patches that I've previously > mentioned in these threads: > > https://gcc.gnu.org/ml/gcc/2017-10/msg00016.html > https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00957.html > > To give an overview of what this

Re: [patch 0/5] nios2 address mode improvements

2017-10-20 Thread Andrew Pinski
On Thu, Oct 19, 2017 at 7:03 PM, Sandra Loosemore wrote: > This is the set of nios2 optimization patches that I've previously > mentioned in these threads: > > https://gcc.gnu.org/ml/gcc/2017-10/msg00016.html > https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00957.html > >

Re: [patch 0/5] nios2 address mode improvements

2017-10-20 Thread Sandra Loosemore
On 10/20/2017 02:56 AM, Jakub Jelinek wrote: On Thu, Oct 19, 2017 at 08:03:45PM -0600, Sandra Loosemore wrote: A harder problem is that doing the high/lo_sum splitting in expand inhibits subsequent optimizations. One such problem arises when you have accesses to multiple fields in a static

Re: [patch 0/5] nios2 address mode improvements

2017-10-20 Thread Sandra Loosemore
On 10/20/2017 02:12 AM, Richard Biener wrote: On Fri, Oct 20, 2017 at 4:03 AM, Sandra Loosemore wrote: This is the set of nios2 optimization patches that I've previously mentioned in these threads: https://gcc.gnu.org/ml/gcc/2017-10/msg00016.html

Re: [patch 0/5] nios2 address mode improvements

2017-10-20 Thread Jakub Jelinek
On Thu, Oct 19, 2017 at 08:03:45PM -0600, Sandra Loosemore wrote: > A harder problem is that doing the high/lo_sum splitting in expand > inhibits subsequent optimizations. One such problem arises when you > have accesses to multiple fields in a static structure object. Expand > sees this as many

Re: [patch 0/5] nios2 address mode improvements

2017-10-20 Thread Ramana Radhakrishnan
On Fri, Oct 20, 2017 at 9:18 AM, Richard Biener wrote: > On Fri, Oct 20, 2017 at 10:12 AM, Richard Biener >> How do other targets handle this situation? Naiively I'd have handled >> the splitting at reload/LRA time ... (which would make the flag >> to test

Re: [patch 0/5] nios2 address mode improvements

2017-10-20 Thread Richard Biener
On Fri, Oct 20, 2017 at 10:12 AM, Richard Biener wrote: > On Fri, Oct 20, 2017 at 4:03 AM, Sandra Loosemore > wrote: >> This is the set of nios2 optimization patches that I've previously >> mentioned in these threads: >> >>

Re: [patch 0/5] nios2 address mode improvements

2017-10-20 Thread Richard Biener
On Fri, Oct 20, 2017 at 4:03 AM, Sandra Loosemore wrote: > This is the set of nios2 optimization patches that I've previously > mentioned in these threads: > > https://gcc.gnu.org/ml/gcc/2017-10/msg00016.html > https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00957.html > >

[patch 0/5] nios2 address mode improvements

2017-10-19 Thread Sandra Loosemore
This is the set of nios2 optimization patches that I've previously mentioned in these threads: https://gcc.gnu.org/ml/gcc/2017-10/msg00016.html https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00957.html To give an overview of what this is for The nios2 backend currently generates quite bad