Re: Rework the legitimize_address_displacement hook

2018-01-07 Thread James Greenhalgh
On Fri, Nov 17, 2017 at 07:45:28PM +, Jeff Law wrote: > On 11/17/2017 09:03 AM, Richard Sandiford wrote: > > This patch: > > > > - tweaks the handling of legitimize_address_displacement > > so that it gets called before rather than after the address has > > been expanded. This means that

Re: Rework the legitimize_address_displacement hook

2017-11-17 Thread Jeff Law
On 11/17/2017 09:03 AM, Richard Sandiford wrote: > This patch: > > - tweaks the handling of legitimize_address_displacement > so that it gets called before rather than after the address has > been expanded. This means that we're no longer at the mercy > of LRA being able to interpret the ex

Rework the legitimize_address_displacement hook

2017-11-17 Thread Richard Sandiford
This patch: - tweaks the handling of legitimize_address_displacement so that it gets called before rather than after the address has been expanded. This means that we're no longer at the mercy of LRA being able to interpret the expanded instructions. - passes the original offset to legitim