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!"

7 of 35 comments (clear)

  1. kuch and associates by Satai · · Score: 3, Informative

    It's actually Kuck and Associates that was acquired by Intel, not Kuch and Associates as listed in the article.

  2. 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.

  3. 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.

  4. For Gentoo users... by dotgod · · Score: 2, Informative
    there's an ebuild if you want to try icc out. Just type:

    emerge dev-lang/icc

  5. sloppy editor alert by Garen · · Score: 2, Informative

    This story is really old and no longer relevant. Wouldn't be surprised if it was a dupe of a several-year-old story thats already appeared on slop-dot.

  6. 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.
  7. For $1,000? by yerricde · · Score: 2, Informative

    However, somebody who wants a Slashdotting could just download the aforementioned tools

    I'm sorry; I don't have $1,000 for any version of Microsoft Visual Studio.

    Oh, you mean the "standard edition" for $100? That's known to generate inefficient code; Microsoft doesn't even claim that the "standard edition" optimizes your code one bit.

    --
    Will I retire or break 10K?