Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-19 Thread Bin.Cheng
On Tue, Nov 19, 2013 at 10:09 AM, bin.cheng wrote: > > >> -Original Message- >> From: Bernd Schmidt [mailto:ber...@codesourcery.com] >> Sent: Monday, November 18, 2013 8:05 PM >> To: Bin Cheng >> Cc: gcc-patches@gcc.gnu.org >> Subject: Re: [PAT

RE: [PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-18 Thread bin.cheng
> -Original Message- > From: Bernd Schmidt [mailto:ber...@codesourcery.com] > Sent: Monday, November 18, 2013 8:05 PM > To: Bin Cheng > Cc: gcc-patches@gcc.gnu.org > Subject: Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx > patterns in IVOPT >

Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-18 Thread Bernd Schmidt
On 11/04/2013 04:31 AM, bin.cheng wrote: > 2013-11-01 Bin Cheng > > * tree-ssa-loop-ivopts.c (enum ainc_type): New. > (address_cost_data): New field. > (get_address_cost): Compute auto-increment rtx cost in ainc_costs. > Use ainc_costs for auto-increment rtx patterns. >

Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-18 Thread Bin.Cheng
.ch...@gmail.com] >> Sent: Monday, November 04, 2013 8:56 PM >> To: Richard Biener >> Cc: Bin Cheng; Bernd Schmidt; GCC Patches >> Subject: Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx >> patterns in IVOPT >> >> On Mon, Nov 4, 2013 at 7:38 P

RE: [PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-11 Thread bin.cheng
vember 04, 2013 8:56 PM > To: Richard Biener > Cc: Bin Cheng; Bernd Schmidt; GCC Patches > Subject: Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx > patterns in IVOPT > > On Mon, Nov 4, 2013 at 7:38 PM, Richard Biener > wrote: > > On Mon, Nov 4, 2013 a

Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-04 Thread Bin.Cheng
On Mon, Nov 4, 2013 at 7:38 PM, Richard Biener wrote: > On Mon, Nov 4, 2013 at 4:31 AM, bin.cheng wrote: >> Hi, >> >> The IVOPT in GCC has a problem that it does not use cost of auto-increment >> address expression in accounting, while it retreats to cost of address >> expression if auto-incremen

Re: [PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-04 Thread Richard Biener
On Mon, Nov 4, 2013 at 4:31 AM, bin.cheng wrote: > Hi, > > The IVOPT in GCC has a problem that it does not use cost of auto-increment > address expression in accounting, while it retreats to cost of address > expression if auto-increment addressing mode is unavailable. > For example, on ARM target

[PATCH GCC]Compute, cache and use cost of auto-increment rtx patterns in IVOPT

2013-11-03 Thread bin.cheng
Hi, The IVOPT in GCC has a problem that it does not use cost of auto-increment address expression in accounting, while it retreats to cost of address expression if auto-increment addressing mode is unavailable. For example, on ARM target: 1) the cost of "[reg]" (which is 6) is used for address exp