<div dir="ltr"><div><div><div>Hi All,<br><br></div>Some of you probably saw performance benchmarking of OpenMP-enabled clang compiler published on Phoronix web-site: <a href="http://www.phoronix.com/scan.php?page=article&item=llvm_clang_openmp&num=1">http://www.phoronix.com/scan.php?page=article&item=llvm_clang_openmp&num=1</a><br>
<br></div><div>As you can see, clang-omp is behind gcc in most of the benchmarks. The reason is quite simple: no -O options supplied to both compilers, so gcc assumed -O2 by default, while clang assumed -O0. No surprise gcc got ahead!<br>
<br></div><div>We added -O2 to clang and re-measured, and results changed quite significantly. My Intel colleague, Alexey Bataev, informed Michael Larabel on this omission.<br></div><div><br></div>Yours,<br>Andrey<br>=====<br>
</div>Software Engineer<br>Intel Compiler Team<br>Intel<br><br></div>