Comparison of C/C++ Compilers for x86 Processors

  • Cristopher Carcereri UFPR
  • Daniel Oliveira UFPR

Abstract


The choice of compiler can significantly impact the performance of applications. This paper aims to evaluate the impact of different C/C++ compilers on scientific applications based on the Rodinia benchmark suite and investigate its causes. The compilers AOCC, Clang, GCC, and ICC are tested. The comparison shows that the Intel compiler has a significant advantage, primarily due to its ability to automatically vectorize the code.

Keywords: Evaluation, Measurement, and Performance Prediction, Languages, Compilers, and Tools for High Performance

References

Che, S., Boyer, M., Meng, J., Tarjan, D., Sheaffer, J. W., Lee, S.-H., and Skadron, K. (2009). Rodinia: A benchmark suite for heterogeneous computing. In 2009 IEEE international symposium on workload characterization (IISWC), pages 44–54. Ieee.

Davis, J. H., Daley, C., Pophale, S., Huber, T., Chandrasekaran, S., and Wright, N. J. (2021). Performance assessment of openmp compilers targeting nvidia v100 gpus. In Accelerator Programming Using Directives: 7th International Workshop, WACCPD 2020, Virtual Event, November 20, 2020, Proceedings 7, pages 25–44. Springer.

Halbiniak, K., Wyrzykowski, R., Szustak, L., Kulawik, A., Meyer, N., and Gepner, P. (2022). Performance exploration of various c/c++ compilers for amd epyc processors in numerical modeling of solidification. Advances in Engineering Software, 166:103078.
Published
2025-04-23
CARCERERI, Cristopher; OLIVEIRA, Daniel. Comparison of C/C++ Compilers for x86 Processors. In: REGIONAL SCHOOL OF HIGH PERFORMANCE COMPUTING FROM SOUTHERN BRAZIL (ERAD-RS), 25. , 2025, Foz do Iguaçu/PR. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2025 . p. 49-52. ISSN 2595-4164. DOI: https://doi.org/10.5753/eradrs.2025.6700.