[patch 0/5] nios2 address mode improvements

Jeff Law law@redhat.com
Tue Oct 24 23:42:00 GMT 2017


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 structure object.  Expand
>> sees this as many (symbol + offset) expressions involving the same
>> symbol with different constant offsets.  What we should be doing in
>> that case is CSE'ing the symbol address computation rather than
>> splitting every such expression individually.
> 
> Do you have the needed relocations for that though?
We certainly did on the PA.

jeff



More information about the Gcc-patches mailing list