Slashdot Mirror


Intel C/C++ compiler vs. GNU gcc/MS Visual Studio

the_real_tigga writes "OpenMag features a benchmark review of the Intel C/C++ compiler as opposed to gcc on linux and Microsoft Visual Studio compiler on Windows XP. Not surprisingly (for me at least), icc beats them both, with dramatic performance improvements. Too bad they chose to review gcc version 2.95, and not the 3.x series, which is known to produce faster code. What is surprising, even AMD CPUs benefit from the icc-compiled code. There is another version of the article here, and they provide a download of the used tools , so you can try it at home too!"

3 of 35 comments (clear)

  1. Re:AMD by AT · · Score: 4, Informative

    I'm guessing icc beats the others mainly on instruction scheduling. In other words, Intel has put a lot of effort into generating code that is parallelizable by spreading out close instructions to different pipelines.

    Since AMDs chips are pipelined, they are likely to benefit even if the pipelines aren't exactly the same.

  2. Re:but wait by Anonymous Coward · · Score: 4, Informative

    No, the intel compiler has been able to successfully compiler the kernel for the past two versions (7 & 6). Check out the recent discussion on the kernel mailing list
    http://www.uwsg.indiana.edu/hypermail/linux/ kernel /0301.2/0846.html
    Now we just need Spike ported from the alpha.

  3. This is outdated info, fresher stuff in this post by Zeio · · Score: 4, Informative

    GCC 3.2.x vs. Intel C++ 7 would have been interesting. This just isn't.

    Go here for GCC 3.2 vs. Intel 7 information:
    http://www.coyotegulch.com/reviews/intel_comp/inte l_gcc_bench2.html

    GCC has done quite a bit to catch up.

    --
    Legalize the constitution. Think for yourself question authority.