Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-11-10 Thread Gerald Pfeifer
On Sat, 8 Oct 2011, Andi Kleen wrote: >> On Wed, 28 Sep 2011, Andi Kleen wrote: >>> ld -r is now supported with LTO. When using assembler files or non >>> LTOed objects inside ld -r objects together with LTO then the Linux >>> binutils 2.21.51.0.3 or later are needed. >> I think this should be GN

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-10-08 Thread Andi Kleen
On Sat, Oct 08, 2011 at 05:38:07PM -0400, Gerald Pfeifer wrote: > On Wed, 28 Sep 2011, Andi Kleen wrote: > > ld -r is now supported with LTO. When using assembler files or non > > LTOed objects inside ld -r objects together with LTO then the Linux > > binutils 2.21.51.0.3 or later are needed. >

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-10-08 Thread Gerald Pfeifer
On Wed, 28 Sep 2011, Andi Kleen wrote: > ld -r is now supported with LTO. When using assembler files or non > LTOed objects inside ld -r objects together with LTO then the Linux > binutils 2.21.51.0.3 or later are needed. I think this should be GNU/Linux, if anything, but then I also think we sh

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-27 Thread Andi Kleen
> > I believe the assembler code only works with HJ's version of binutils > > and his BFD ld (not gold) currently. HJ can you supply the minimal version? > > Non assembler/LTO should work always. > > The Linux binutils 2.21.51.0.3 is the first Linux binutils which > supports "ld -r" on mixed IR/no

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-27 Thread H.J. Lu
On Mon, Sep 26, 2011 at 7:59 AM, Andi Kleen wrote: >> > ld -r is now supported with LTO >> >> Thanks, forgot about this one.  This also needs support at linker side, >> right? > > Only if you include assembler or non LTO code. > Without that it should work with any linker. > >> Do you know minima

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-27 Thread Gerald Pfeifer
On Tue, 27 Sep 2011, Jan Hubicka wrote: > thanks for corrections. This is what I've comitted now. Here is another small update I just crafted, that makes a stylistic change here and there, introduces LTO as an abbreviation, adds some missing articles and spaces,... Installed. Gerald Index: cha

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-27 Thread Gerald Pfeifer
On Tue, 27 Sep 2011, Jan Hubicka wrote: > thanks for corrections. This is what I've comitted now. And here are some markup fixes on top, that address complaints by the validator. Gerald Index: changes.html === RCS file: /cvs/gcc/w

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-27 Thread Jan Hubicka
Gerald, Andi, thanks for corrections. This is what I've comitted now. Index: changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.7/changes.html,v retrieving revision 1.33 diff -u -r1.33 changes.html --- changes.html25 Se

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-26 Thread Andi Kleen
> > ld -r is now supported with LTO > > Thanks, forgot about this one. This also needs support at linker side, right? Only if you include assembler or non LTO code. Without that it should work with any linker. > Do you know minimal GNU ld/Gold versions that works fine? I believe the assembler

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-26 Thread Jan Hubicka
> Jan Hubicka writes: > > > > + Link-time optimization improvements: > > + > > + Improved scalability and reduced memory usage. Link time > > optimization > > + of Firefox now require 3GB of RAM on 64bit system, while over 8GB > > was needed > > + previously. L

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-25 Thread Andi Kleen
Jan Hubicka writes: > > + Link-time optimization improvements: > + > + Improved scalability and reduced memory usage. Link time > optimization > + of Firefox now require 3GB of RAM on 64bit system, while over 8GB was > needed > + previously. Linking time has be

Re: [wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-25 Thread Gerald Pfeifer
On Wed, 21 Sep 2011, Jan Hubicka wrote: > Index: changes.html > === > + Link-time optimization improvements: > + > + Improved scalability and reduced memory usage. Link time > optimization > + of Firefox now requ

[wwwdocs] Add info about IPA optimization and LTO improvments

2011-09-21 Thread Jan Hubicka
Hi, this patch adds some info on changes in IPA and LTO. Not sure if I missed something important. Martin, perhaps you could add some example on new devirutalization stuff? Suggestions for less lame explanations are welcome :) Honza Index: changes.html ===