TY - GEN
T1 - Optimizing GCC with ICC as the Performance Goal for SPEC CPU 2006 and 2017
AU - Zhang, Hanke
AU - Hou, Puzhou
AU - Shi, Xiaohua
N1 - Publisher Copyright:
© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.
PY - 2025
Y1 - 2025
N2 - SPEC CPU 2006 and 2017 are widely recognized CPU benchmark suites designed to evaluate the performance of system processors, memories, and compilers across various platforms. This paper tries to explore why ICC has significantly higher runtime efficiency than GCC on some benchmarks by analyzing the specific optimizations performed by ICC through various methods, aiming to figure out the reasons behind its high scores as well as the generality and portability of these optimizations, like loop fusion, SCEV and parallelization, structure peeling, vectorization, loop tiling, etc. The optimized GCC is more than 5.8% and 47% faster than the original GCC 12.3 for the rate metric on SPEC CPU 2017 and 2006, respectively. The performance gap between the optimized GCC and ICC on SPEC CPU 2006 has been reduced from 36.4% to 4.2% (speed metric) and from 51.8% to 3.0% (rate metric). It also surpassed ICC for both rate and speed metrics on SPEC CPU 2017, on an Intel Core i9-12900KF CPU.
AB - SPEC CPU 2006 and 2017 are widely recognized CPU benchmark suites designed to evaluate the performance of system processors, memories, and compilers across various platforms. This paper tries to explore why ICC has significantly higher runtime efficiency than GCC on some benchmarks by analyzing the specific optimizations performed by ICC through various methods, aiming to figure out the reasons behind its high scores as well as the generality and portability of these optimizations, like loop fusion, SCEV and parallelization, structure peeling, vectorization, loop tiling, etc. The optimized GCC is more than 5.8% and 47% faster than the original GCC 12.3 for the rate metric on SPEC CPU 2017 and 2006, respectively. The performance gap between the optimized GCC and ICC on SPEC CPU 2006 has been reduced from 36.4% to 4.2% (speed metric) and from 51.8% to 3.0% (rate metric). It also surpassed ICC for both rate and speed metrics on SPEC CPU 2017, on an Intel Core i9-12900KF CPU.
KW - GCC
KW - ICC
KW - SPEC CPU
UR - https://www.scopus.com/pages/publications/105014394736
U2 - 10.1007/978-3-031-95130-5_14
DO - 10.1007/978-3-031-95130-5_14
M3 - 会议稿件
AN - SCOPUS:105014394736
SN - 9783031951299
T3 - Communications in Computer and Information Science
SP - 167
EP - 180
BT - Computational Science and Computational Intelligence - 11th International Conference, CSCI 2024, Proceedings
A2 - Arabnia, Hamid R.
A2 - Deligiannidis, Leonidas
A2 - Shenavarmasouleh, Farzan
A2 - Amirian, Soheyla
A2 - Ghareh Mohammadi, Farid
PB - Springer Science and Business Media Deutschland GmbH
T2 - 11th International Conference on Computational Science and Computational Intelligence, CSCI 2024
Y2 - 11 December 2024 through 13 December 2024
ER -