Speed up insn-attrtab.c compilation

2012-05-07 Thread Michael Matz
Hi, neverending story. Maybe this time something gets in :) This patch changes generation of insn-attrtab.c to: * order attributes topologically (so that the "inlining" genattrtab does is as effective as possible, and doesn't hit the size limits too much) * adjusts the rtx_cost for the attribu

Re: Speed up insn-attrtab.c compilation

2012-05-07 Thread Mike Stump
On May 7, 2012, at 6:11 AM, Michael Matz wrote: > I'd like to retain the #if 0 code therein, Can you structure this code as #define DEBUG 0 if (DEBUG) ... ? If so, that would be a preferable way to structure the code. Nice work.

Re: Speed up insn-attrtab.c compilation

2012-05-08 Thread Michael Matz
Hi, On Mon, 7 May 2012, Mike Stump wrote: > On May 7, 2012, at 6:11 AM, Michael Matz wrote: > > I'd like to retain the #if 0 code therein, > > Can you structure this code as > > #define DEBUG 0 > > if (DEBUG) ... > > ? > > If so, that would be a preferable way to structure the code. Sure,

Ping (Was: Speed up insn-attrtab.c compilation)

2012-05-17 Thread Michael Matz
Ping. On Tue, 8 May 2012, Michael Matz wrote: > Hi, > > On Mon, 7 May 2012, Mike Stump wrote: > > > On May 7, 2012, at 6:11 AM, Michael Matz wrote: > > > I'd like to retain the #if 0 code therein, > > > > Can you structure this code as > > > > #define DEBUG 0 > > > > if (DEBUG) ... > > >

Re: Ping (Was: Speed up insn-attrtab.c compilation)

2012-05-18 Thread Richard Guenther
On Thu, May 17, 2012 at 4:40 PM, Michael Matz wrote: > Ping. Ok. Thanks, Richard. > On Tue, 8 May 2012, Michael Matz wrote: > >> Hi, >> >> On Mon, 7 May 2012, Mike Stump wrote: >> >> > On May 7, 2012, at 6:11 AM, Michael Matz wrote: >> > > I'd like to retain the #if 0 code therein, >> > >> > Ca