Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: GCC 4.9 Compiler Optimization Benchmarks For Faster Binaries

  1. #21
    Join Date
    Aug 2012


    Quote Originally Posted by hubicka View Post
    Except for the unit tests me neither, it is on my TODO.
    Other half of answer ended up in QUOTE: TALOS seems to do that (I am playing with it now). Dromaeo indeed needs one mouse click but there is probably way how to script that.

  2. #22


    Quote Originally Posted by gnzlbg View Post
    These things are extremely useful Michael (I hope you are sending bugreports for the regressions with O3 being slower than O2).
    As I've explained before, I generally don't have the time/resources to do bug reports when writing 10+ articles per day and working on an equal number or greater tests each day by myself, besides software development and other work. Can't really afford to spend any time on bug reports when it's hard enough making a living off the site as is but besides by the time I write a bug report, the chances are the system has already changed around -- either the hardware components, or the distro completely wiped and doing other sorts of tests, etc. So it doesn't work out for testing fixes, etc.

    Quote Originally Posted by gnzlbg View Post
    Would it be possible to benchmark -Ofast -march=native -flto ?

    Since -Ofast enables -O3 + -ffast-math I would expect it to be the most aggresive "easy to activate" optimization level.
    Can add it to the list for next time I do such compiler tests...

  3. #23
    Join Date
    Jun 2012

    Default Curious about -fwhole-program

    Curious how the same setup performs with -fwhole-program. Also, it can be nice to compare binary sizes. While it really matters only in embedded, test compile with -flto -fwhole-program made large test C++ binaries about 25% smaller with no other efforts or obvious loses.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts