This story was originally published on HackerNoon at:
https://hackernoon.com/compiler-optimizations-boosting-code-performance-with-minimum-tweaks.
Discover useful compiler optimizations and flags for the Intel C++ compiler. Explore -fno-alias, -xHost, -xCORE-AVX512, IPO, On, ivdep, parallel, PGO, jacobi...
Check more stories related to programming at:
https://hackernoon.com/c/programming.
You can also check exclusive content about
#programming,
#compiler,
#optimization,
#high-performance-computing,
#c-programming,
#parallel-computing,
#compiler-optimizations,
#hackernoon-top-story,
#hackernoon-es,
#hackernoon-hi,
#hackernoon-zh,
#hackernoon-fr,
#hackernoon-bn,
#hackernoon-ru,
#hackernoon-vi,
#hackernoon-pt,
#hackernoon-ja,
#hackernoon-de,
#hackernoon-ko,
#hackernoon-tr, and more.
This story was written by:
@durganshu. Learn more about this writer by checking
@durganshu's about page,
and for more stories, please visit
hackernoon.com.
Developers looking to optimize the performance of their C++ code should discover compiler optimizations: a set of very effective C++ flags that improve the code performance without much effort. The only prerequisite is that you know what you're doing. Explore flags suitable for Intel C++ compilers such as -fno-alias, -xHost, -xCORE-AVX512, IPO, etc, with a hands-on showdown on a Jacobi iteration C++ code.