Re: [Patch ping] Strength reduction

2012-06-21 Thread Richard Guenther
On Wed, Jun 20, 2012 at 6:22 PM, William J. Schmidt wrote: > On Wed, 2012-06-20 at 13:11 +0200, Richard Guenther wrote: >> On Thu, Jun 14, 2012 at 3:21 PM, William J. Schmidt >> wrote: >> > Pro forma ping. :) >> >> ;) >> >> I notice (with all of these functions) >> >> +unsigned >> +negate_cost (e

Re: [Patch ping] Strength reduction

2012-06-20 Thread William J. Schmidt
On Wed, 2012-06-20 at 11:52 -0700, Richard Henderson wrote: > On 06/20/2012 04:11 AM, Richard Guenther wrote: > > I notice (with all of these functions) > > > > +unsigned > > +negate_cost (enum machine_mode mode, bool speed) > > +{ > > + static unsigned costs[NUM_MACHINE_MODES]; > > + rtx seq; >

Re: [Patch ping] Strength reduction

2012-06-20 Thread Richard Henderson
On 06/20/2012 04:11 AM, Richard Guenther wrote: > I notice (with all of these functions) > > +unsigned > +negate_cost (enum machine_mode mode, bool speed) > +{ > + static unsigned costs[NUM_MACHINE_MODES]; > + rtx seq; > + unsigned cost; > + > + if (costs[mode]) > +return costs[mode]; > +

Re: [Patch ping] Strength reduction

2012-06-20 Thread William J. Schmidt
On Wed, 2012-06-20 at 13:11 +0200, Richard Guenther wrote: > On Thu, Jun 14, 2012 at 3:21 PM, William J. Schmidt > wrote: > > Pro forma ping. :) > > ;) > > I notice (with all of these functions) > > +unsigned > +negate_cost (enum machine_mode mode, bool speed) > +{ > + static unsigned costs[NU

Re: [Patch ping] Strength reduction

2012-06-20 Thread Richard Guenther
On Thu, Jun 14, 2012 at 3:21 PM, William J. Schmidt wrote: > Pro forma ping. :) ;) I notice (with all of these functions) +unsigned +negate_cost (enum machine_mode mode, bool speed) +{ + static unsigned costs[NUM_MACHINE_MODES]; + rtx seq; + unsigned cost; + + if (costs[mode]) +return c

Re: [Patch ping] Strength reduction

2012-06-14 Thread William J. Schmidt
Pro forma ping. :) Thanks, Bill On Sun, 2012-04-29 at 18:17 -0500, William J. Schmidt wrote: > Thought I'd ping http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01225.html > since it's been about six weeks. Any initial feedback would be very > much appreciated! > > Thanks, > Bill

[Patch ping] Strength reduction

2012-04-29 Thread William J. Schmidt
Thought I'd ping http://gcc.gnu.org/ml/gcc-patches/2012-03/msg01225.html since it's been about six weeks. Any initial feedback would be very much appreciated! Thanks, Bill