Page 1 of 3 123 LastLast
Results 1 to 10 of 30

Thread: Clang's Competition For GCC On Intel Haswell

  1. #1
    Join Date
    Jan 2007
    Posts
    14,233

    Default Clang's Competition For GCC On Intel Haswell

    Phoronix: Clang's Competition For GCC On Intel Haswell

    After a few days ago showing LLVM Clang 3.4 running very well on AMD's Kaveri APU, here are some benchmarks of GCC 4.8.2, the latest GCC 4.9 development snapshot, and LLVM Clang 3.4 from an Intel Core i5 "Haswell" system running Ubuntu 14.04 with the Linux 3.13 kernel.

    http://www.phoronix.com/vr.php?view=19822

  2. #2
    Join Date
    Oct 2012
    Location
    Cologne, Germany
    Posts
    308

    Cool Nice!

    I'm very glad to see LLVM developing in the right direction.
    For me, it's not about destroying the competition (--> gcc), but making more and more projects compiler-independent.
    We have lots and lots of code lying around depending on GCC-extensions. Even though they might come in handy once in a while, they break the standard.

    GCC ist still my tool of choice, because I don't like LLVM+Clang for other reasons.

    <s>It might be that GCC lost performance the moment they switched their codebase to C++</s>

  3. #3
    Join Date
    Jan 2014
    Posts
    22

    Default

    Quote Originally Posted by frign View Post
    I'm very glad to see LLVM developing in the right direction.
    For me, it's not about destroying the competition (--> gcc), but making more and more projects compiler-independent.
    We have lots and lots of code lying around depending on GCC-extensions. Even though they might come in handy once in a while, they break the standard.

    GCC ist still my tool of choice, because I don't like LLVM+Clang for other reasons.

    <s>It might be that GCC lost performance the moment they switched their codebase to C++</s>
    Clang is also written in C++.

  4. #4
    Join Date
    Oct 2012
    Location
    Cologne, Germany
    Posts
    308

    Red face

    Quote Originally Posted by the303 View Post
    Clang is also written in C++.
    Yep, that's right, but mind two things:

    1. <s>-tags
    2. There's a difference between writing an application in C++ from the ground up and switching over from C to C++. I favor C, given a transformation to OOP is almost guaranteed to break old axioms

  5. #5
    Join Date
    Sep 2011
    Posts
    135

    Default

    And now please proof that it really is GCC that got slower, and not llvm/clang that got faster. Beacause IMHO it is the second one that happened.

  6. #6
    Join Date
    Mar 2012
    Posts
    3

    Default Confirmation needed.

    Can someone independently repeat and confirm these measurements?

  7. #7
    Join Date
    Dec 2009
    Location
    Greece
    Posts
    351

    Default

    Impressive... If Clang had openmp support it would be faster overall...

  8. #8
    Join Date
    Jan 2014
    Posts
    13

    Default

    Test in favor of LLVM
    LLVM Clang still easily surpasses GCC in speedy compile times.
    Test in favor of GCC
    LLVM Clang still has some optimization work to do
    Last edited by raineee; 02-06-2014 at 07:47 AM.

  9. #9
    Join Date
    Aug 2012
    Posts
    20

    Default

    Quote Originally Posted by raineee View Post
    Test in favor of LLVM

    Test in favor of GCC
    I thought I was the only one who noticed.

  10. #10
    Join Date
    Jul 2013
    Posts
    332

    Default

    its performance was tuned by GCC developers over the last few compiler versions.
    Does that mean that the GCC devs tuned the performance for certain benchmarks to get better results than what would normally come out of the compiler...?

Posting Permissions

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