Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 45

Thread: Benchmarks Of GCC 4.5.0 Compiler Performance

  1. #11
    Join Date
    Apr 2010
    Posts
    2

    Default Intel C

    It will be very interesting to compare with Intel's C compiler: http://software.intel.com/en-us/intel-compilers/
    There is evaluation version for 30 days

  2. #12
    Join Date
    Dec 2007
    Location
    Edinburgh, Scotland
    Posts
    576

    Default

    Did you try usig the -flto flag for link time optimization, the -fwhole-program flag for non libraries or -floop-parallelize-all?

    These are the new features that'll make GCC 4.5 worth while

  3. #13
    Join Date
    Mar 2009
    Posts
    141

    Default

    Quote Originally Posted by FireBurn View Post
    Did you try usig the -flto flag for link time optimization, the -fwhole-program flag for non libraries or -floop-parallelize-all?

    These are the new features that'll make GCC 4.5 worth while
    Yeah I was going to ask the same. GCC 4.4 also needed -floop-interchange -floop-strip-mine -floop-block to enable graphite which I'd suspect would affect benchmarks versus GCC 4.3

  4. #14
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    I have always wondered how complex compiler are.

    Are the people that make GCC insanely inteligent math nerds? Ofcourse no pun intended, rather respect.

  5. #15
    Join Date
    Oct 2009
    Posts
    2,108

    Default

    Quote Originally Posted by V!NCENT View Post
    I have always wondered how complex compiler are.

    Are the people that make GCC insanely inteligent math nerds? Ofcourse no pun intended, rather respect.
    Insanely intelligent or insanely persistent.... not that there's a provable difference between the two. In either case though, definitely math nerds.

    And no, they definitely wouldn't take any kind of offense to that.

  6. #16
    Join Date
    Nov 2008
    Posts
    767

    Default

    not math nerds. It's computer science.

    compilers need some linguistics ("how do I parse this stuff?"), a lot of theory of computation (i.e. "prove that these two code snippets produce identical output" and other problems), lots of data structures ("how do I organize the information about the code so it's quick to access and modify, but still easy to handle?", basically the question of picking good IRs), a lot of technics specific to compilers (that have to be invented, implemented and tested) and a whole bunch of other skills. Basic math is included in the latter, but nowhere near a dominant skill.

  7. #17
    Join Date
    Dec 2009
    Posts
    110

    Default

    What I would find interesting is what CFLAGS are used in the compilation. And as he said ha ran the "default" I do not think he went around adding flags in different places and hacked the buildsystem to include "-fwhole-program and alike. I assume that the sources are built somewhat like "unset CFLAGS && ./configure && make", and in that case, what compiler flags are the buildsystem adding and what differs between them is more interesting.

    The biggest differences between versions in gcc when it comes to general optimization seems to be that different -O# flags have different options integrated, so if you do not specify a flag, and the buildsystem for one program does not add any -O# that program may not show as much "difference" between gcc releases as one adding -O2.

  8. #18
    Join Date
    Apr 2010
    Posts
    1

    Default GCC 4.5 and floating-points calculations

    Michael L., are you sure to not be affected by this change in your BPE tests?

    http://gcc.gnu.org/gcc-4.5/changes.html

    On x86 targets, code containing floating-point calculations may run significantly slower when compiled with GCC 4.5 in strict C99 conformance mode than they did with earlier GCC versions. This is due to stricter standard conformance of the compiler and can be avoided by using the option -fexcess-precision=fast; also see below.

    When you run your performance tests, do you talk about your results with project developers?

  9. #19
    Join Date
    Dec 2009
    Posts
    110

    Default

    Quote Originally Posted by rohcQaH View Post
    ... Basic math is included in the latter, but nowhere near a dominant skill.
    To make a working compiler you do not need much math.
    To make a splendid compiler you really need to know your math.

    This is because much optimization in all code really is to know how to in as few steps as possible do as much as possible. And sometimes that includes knowing things like mathematically what advantages and disadvantages different sort-algorithms has and on what load.

    But OTOH I do sometimes count knowing stuff like derivative as "basic" math-skills.

  10. #20
    Join Date
    Aug 2009
    Posts
    2,264

    Default

    Derivatie IS a basic math skill...

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
  •