Re: [PATCH GCC]Simplify address expression in IVOPT

2013-11-06 Thread Richard Biener
On Wed, Nov 6, 2013 at 11:01 AM, bin.cheng wrote: > > >> -Original Message- >> From: Richard Biener [mailto:richard.guent...@gmail.com] >> Sent: Tuesday, November 05, 2013 8:18 PM >> To: Bin Cheng >> Cc: GCC Patches >> Subject: Re: [PATCH GCC]Sim

RE: [PATCH GCC]Simplify address expression in IVOPT

2013-11-06 Thread bin.cheng
> -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: Tuesday, November 05, 2013 8:18 PM > To: Bin Cheng > Cc: GCC Patches > Subject: Re: [PATCH GCC]Simplify address expression in IVOPT > > On Tue, Nov 5, 2013 at 11

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-11-05 Thread Bin.Cheng
On Tue, Nov 5, 2013 at 8:29 PM, Richard Biener wrote: > On Tue, Nov 5, 2013 at 1:18 PM, Yufeng Zhang wrote: >> On 11/05/13 11:45, Bin.Cheng wrote: >>> >>> On Tue, Nov 5, 2013 at 7:19 PM, Yufeng Zhang wrote: > On 11/05/13 10:13, bin.cheng wrote: > > >> > >> Index: gcc/tree

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-11-05 Thread Richard Biener
On Tue, Nov 5, 2013 at 1:18 PM, Yufeng Zhang wrote: > On 11/05/13 11:45, Bin.Cheng wrote: >> >> On Tue, Nov 5, 2013 at 7:19 PM, Yufeng Zhang wrote: >>> >>> > On 11/05/13 10:13, bin.cheng wrote: >> >> Index: gcc/tree-affine.c >> ==

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-11-05 Thread Richard Biener
x27; >> Cc: GCC Patches >> Subject: RE: [PATCH GCC]Simplify address expression in IVOPT >> >> >> >> > -Original Message- >> > From: Richard Biener [mailto:richard.guent...@gmail.com] >> > Sent: Wednesday, October 30, 2013 10:46 PM &g

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-11-05 Thread Yufeng Zhang
On 11/05/13 11:45, Bin.Cheng wrote: On Tue, Nov 5, 2013 at 7:19 PM, Yufeng Zhang wrote: > On 11/05/13 10:13, bin.cheng wrote: >> >> Index: gcc/tree-affine.c >> === >> --- gcc/tree-affine.c (revision 204117) >> +++ gcc/tree-

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-11-05 Thread Bin.Cheng
On Tue, Nov 5, 2013 at 7:19 PM, Yufeng Zhang wrote: > On 11/05/13 10:13, bin.cheng wrote: >> >> Index: gcc/tree-affine.c >> === >> --- gcc/tree-affine.c (revision 204117) >> +++ gcc/tree-affine.c (working copy) >> @@ -874,10 +874,

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-11-05 Thread Yufeng Zhang
On 11/05/13 10:13, bin.cheng wrote: Index: gcc/tree-affine.c === --- gcc/tree-affine.c (revision 204117) +++ gcc/tree-affine.c (working copy) @@ -874,10 +874,11 @@ debug_aff (aff_tree *val) fprintf (stderr, "\n"); } -/* Re

RE: [PATCH GCC]Simplify address expression in IVOPT

2013-11-05 Thread bin.cheng
> -Original Message- > From: gcc-patches-ow...@gcc.gnu.org [mailto:gcc-patches- > ow...@gcc.gnu.org] On Behalf Of bin.cheng > Sent: Monday, November 04, 2013 4:35 PM > To: 'Richard Biener' > Cc: GCC Patches > Subject: RE: [PATCH GCC]Simpl

RE: [PATCH GCC]Simplify address expression in IVOPT

2013-11-04 Thread bin.cheng
> -Original Message- > From: Richard Biener [mailto:richard.guent...@gmail.com] > Sent: Wednesday, October 30, 2013 10:46 PM > To: Bin Cheng > Cc: GCC Patches > Subject: Re: [PATCH GCC]Simplify address expression in IVOPT > > On Tue, Oct 29, 2013 at 10:18 AM, bi

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-10-31 Thread Yufeng Zhang
On 10/30/13 14:46, Richard Biener wrote: On Tue, Oct 29, 2013 at 10:18 AM, bin.cheng wrote: Hi, I noticed that IVOPT generates complex address expressions like below for iv base. &arr_base[0].y &arr[0] &MEM[p+o] It's even worse for targets support auto-increment addre

Re: [PATCH GCC]Simplify address expression in IVOPT

2013-10-30 Thread Richard Biener
On Tue, Oct 29, 2013 at 10:18 AM, bin.cheng wrote: > Hi, > I noticed that IVOPT generates complex address expressions like below for iv > base. > &arr_base[0].y > &arr[0] > &MEM[p+o] > It's even worse for targets support auto-increment addressing mode because > IVOPT adjust