2025-09-26 –, Auditorium B032 (80)
This contribution explores possible improvements in GCC code generation for RISC-V. We collected dynamic instruction counts from selected SPEC CPU 2017 benchmarks and compared the results with AArch64. Findings reveal that prominent compiler weaknesses include missing instruction patterns, extra move instructions, unused load offsets, and functionally dead code. Additionally, vectorising library functions, like memset and mathematical operations, are crucial for maximising RISC-V efficiency.
This work has been carried out as a collaboration between BayLibre and Rivos Inc., and funded by the RISE Project.
Paul‑Antoine Arras is a compiler engineer at BayLibre with a strong focus on open-source compiler projects, particularly GCC and LLVM. With a PhD in computer science from the University of Bordeaux, he has contributed to optimising compilers for RISC-V, AMD GPUs, and C++ software. His work includes the implementation of OpenMP features, support for custom instruction sets, and involvement in selective binary rewriting tools like SaBRe. Paul‑Antoine is also an active speaker and author in the field, with contributions to FOSDEM and GNU/Linux Magazine France.