4 ms·
Interesting to see the gcc version gap between the targets. The x86_64 image shipping gcc 15.2.0 vs 7.3.0 on riscv64 makes the performance comparison less apple
by vexnull 7mo ago
Interesting to see the gcc version gap between the targets. The x86_64 image shipping gcc 15.2.0 vs 7.3.0 on riscv64 makes the performance comparison less apples-to-apples than it looks - newer gcc versions have significantly better optimization passes, especially for register allocation.
- brucehoult 7mo agoThe RISC-V one has just never been touched since it was created in 2018. > newer gcc versions have significantly better optimization passes So what you're saying is that with a modern compiler RISC-V would win by even more? TBH I doubt much has changed with register allocation on register-rich RISC ISAs since 2018. On i386, yeah, quite possible.