Re: Slim lto objects

2011-09-27 Thread Jan Hubicka
> Hi, > I build Mozilla without debug info with slim LTO and non-LTO. > slim LTO build is: > > real14m26.882s > user78m47.547s > sys 6m58.870s > jh@evans:/abuild/jh/build-mozilla-new14> du -s . > 1056120 . > jh@evans:/abuild/jh/build-mozilla-new14> size toolkit/library/libxul.so >t

Re: Slim lto objects

2011-09-27 Thread Jan Hubicka
Hi, I build Mozilla without debug info with slim LTO and non-LTO. slim LTO build is: real14m26.882s user78m47.547s sys 6m58.870s jh@evans:/abuild/jh/build-mozilla-new14> du -s . 1056120 . jh@evans:/abuild/jh/build-mozilla-new14> size toolkit/library/libxul.so textdata bss

Re: Slim lto objects

2011-09-27 Thread Jan Hubicka
> On 11-09-27 13:00 , Andi Kleen wrote: > >> The other obvious way to make it faster would be to skip the assembler >> for slim LTO and just output the data directly. There's not much need >> for it with LTO. > > Agreed. That's what we do with pph images. > >> But that's a larger project. > > Inde

Re: Slim lto objects

2011-09-27 Thread Diego Novillo
On 11-09-27 13:00 , Andi Kleen wrote: The other obvious way to make it faster would be to skip the assembler for slim LTO and just output the data directly. There's not much need for it with LTO. Agreed. That's what we do with pph images. But that's a larger project. Indeed. Diego.

Re: Slim lto objects

2011-09-27 Thread Andi Kleen
Diego Novillo writes: > On Mon, Sep 26, 2011 at 14:42, Jan Hubicka wrote: >> Hi, >> this patch implements slim LTO. It is updated version of Andi's patch.  It is >> done by terminating IPA optimization after analyzing and outputting LTO and >> in >> compile_file skipping stuff that outputs asse

Re: Slim lto objects

2011-09-27 Thread Jan Hubicka
> On Mon, Sep 26, 2011 at 14:42, Jan Hubicka wrote: > > Hi, > > this patch implements slim LTO. It is updated version of Andi's patch.  It > > is > > done by terminating IPA optimization after analyzing and outputting LTO and > > in > > compile_file skipping stuff that outputs assembly. > > Nic

Re: Slim lto objects

2011-09-27 Thread Diego Novillo
On Mon, Sep 26, 2011 at 14:42, Jan Hubicka wrote: > Hi, > this patch implements slim LTO. It is updated version of Andi's patch.  It is > done by terminating IPA optimization after analyzing and outputting LTO and in > compile_file skipping stuff that outputs assembly. Nice! Have you measured ob

Re: Slim lto objects

2011-09-27 Thread Richard Guenther
On Mon, Sep 26, 2011 at 8:42 PM, Jan Hubicka wrote: > Hi, > this patch implements slim LTO. It is updated version of Andi's patch.  It is > done by terminating IPA optimization after analyzing and outputting LTO and in > compile_file skipping stuff that outputs assembly. > > After some considerati

Slim lto objects

2011-09-26 Thread Jan Hubicka
Hi, this patch implements slim LTO. It is updated version of Andi's patch. It is done by terminating IPA optimization after analyzing and outputting LTO and in compile_file skipping stuff that outputs assembly. After some consideration I neded up with -ffat-lto-objects and -fno-fat-lto-objects.