Benchmarking Intel C++ 6.0 to GNU g++ 3.0.4

CoyoteGulch.com has published an interesting article, benchmarking GCC 3.04 and ICC 6 (the article will be updated again after GCC 3.1’s release). In the tests, ICC seems to pull ahead in most tests. When it’s behind, it’s never very far behind. The opposite is not true, and there are benchmarks where ICC is very far ahead, generating code that can be up to 5 times better than gcc’s. Especially interesting, the “Stepanov” benchmark, which shows that ICC is capable of understanding the most complex c++ constructs, whereas GCC gets confused by them and ends up generating much slower code. This is bothersome, because it means that developers who want to get the most speed out of their gcc-compiled system need to write their code pretty much in C, whereas those using ICC can use all the productivity-enhancing features of C++ without speed penalty. As for the “WhetStone” benchmark, shows that gcc still has serious issues dealing with x87 floating-point code. It would also be very interesting to run the very same benchmark on a Pentium4, varying the compiler options, in order to see how both compilers can take advantage of the Pentium4’s extra features, and especially SSE-2. Update: Another benchmark can be found here.

52 Comments

  1. 2002-05-09 5:00 pm
  2. 2002-05-09 5:04 pm
  3. 2002-05-09 5:04 pm
  4. 2002-05-09 5:07 pm
  5. 2002-05-09 5:28 pm
  6. 2002-05-09 5:30 pm
  7. 2002-05-09 5:39 pm
  8. 2002-05-09 5:43 pm
  9. 2002-05-09 6:00 pm
  10. 2002-05-09 6:03 pm
  11. 2002-05-09 6:12 pm
  12. 2002-05-09 6:25 pm
  13. 2002-05-09 6:34 pm
  14. 2002-05-09 6:42 pm
  15. 2002-05-09 7:04 pm
  16. 2002-05-09 7:05 pm
  17. 2002-05-09 7:10 pm
  18. 2002-05-09 7:13 pm
  19. 2002-05-09 7:14 pm
  20. 2002-05-09 7:16 pm
  21. 2002-05-09 7:19 pm
  22. 2002-05-09 7:24 pm
  23. 2002-05-09 7:26 pm
  24. 2002-05-09 7:34 pm
  25. 2002-05-09 7:37 pm
  26. 2002-05-09 7:42 pm
  27. 2002-05-09 7:54 pm
  28. 2002-05-09 7:56 pm
  29. 2002-05-09 7:58 pm
  30. 2002-05-09 8:15 pm
  31. 2002-05-09 8:19 pm
  32. 2002-05-09 8:59 pm
  33. 2002-05-09 9:26 pm
  34. 2002-05-09 9:40 pm
  35. 2002-05-09 10:44 pm
  36. 2002-05-09 11:05 pm
  37. 2002-05-09 11:14 pm
  38. 2002-05-09 11:38 pm
  39. 2002-05-10 12:19 am
  40. 2002-05-10 12:42 am
  41. 2002-05-10 12:45 am
  42. 2002-05-10 2:04 am
  43. 2002-05-10 3:30 am
  44. 2002-05-10 4:35 am
  45. 2002-05-10 7:41 am
  46. 2002-05-10 11:08 am
  47. 2002-05-10 12:09 pm
  48. 2002-05-10 12:18 pm
  49. 2002-05-10 12:52 pm
  50. 2002-05-10 1:39 pm
  51. 2002-05-10 3:13 pm
  52. 2002-05-11 4:31 am