Re: Improve canonicalisation of TARGET_MEM_REFs

2018-01-15 Thread Richard Biener
On Tue, Jan 9, 2018 at 3:39 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Tue, Nov 7, 2017 at 7:04 PM, Richard Sandiford >> wrote: >>> Richard Biener writes:

Re: Improve canonicalisation of TARGET_MEM_REFs

2018-01-09 Thread Richard Sandiford
Richard Biener writes: > On Tue, Nov 7, 2017 at 7:04 PM, Richard Sandiford > wrote: >> Richard Biener writes: >>> On Fri, Nov 3, 2017 at 5:32 PM, Richard Sandiford >>> wrote:

Re: Improve canonicalisation of TARGET_MEM_REFs

2017-11-20 Thread Bin.Cheng
On Mon, Nov 20, 2017 at 11:02 AM, Richard Biener wrote: > On Tue, Nov 7, 2017 at 7:04 PM, Richard Sandiford > wrote: >> Richard Biener writes: >>> On Fri, Nov 3, 2017 at 5:32 PM, Richard Sandiford >>>

Re: Improve canonicalisation of TARGET_MEM_REFs

2017-11-20 Thread Richard Biener
On Tue, Nov 7, 2017 at 7:04 PM, Richard Sandiford wrote: > Richard Biener writes: >> On Fri, Nov 3, 2017 at 5:32 PM, Richard Sandiford >> wrote: >>> A general TARGET_MEM_REF is: >>> >>> BASE + STEP *

Re: Improve canonicalisation of TARGET_MEM_REFs

2017-11-07 Thread Richard Sandiford
Richard Biener writes: > On Fri, Nov 3, 2017 at 5:32 PM, Richard Sandiford > wrote: >> A general TARGET_MEM_REF is: >> >> BASE + STEP * INDEX + INDEX2 + OFFSET >> >> After classifying the address in this way, the code that builds >>

Re: Improve canonicalisation of TARGET_MEM_REFs

2017-11-07 Thread Richard Biener
On Fri, Nov 3, 2017 at 5:32 PM, Richard Sandiford wrote: > A general TARGET_MEM_REF is: > > BASE + STEP * INDEX + INDEX2 + OFFSET > > After classifying the address in this way, the code that builds > TARGET_MEM_REFs tries to simplify the address until it's valid

Improve canonicalisation of TARGET_MEM_REFs

2017-11-03 Thread Richard Sandiford
A general TARGET_MEM_REF is: BASE + STEP * INDEX + INDEX2 + OFFSET After classifying the address in this way, the code that builds TARGET_MEM_REFs tries to simplify the address until it's valid for the current target and for the mode of memory being addressed. It does this in a fixed order: