Add configuration for gcc 16.1 baremetal toolchain and add compatibility fix for RISC-V proxy kernel#3377
Add configuration for gcc 16.1 baremetal toolchain and add compatibility fix for RISC-V proxy kernel#3377isa084 wants to merge 1 commit into
Conversation
Added a new toolchain configuration for building gcc 16.1 using the instructions in util/toolchain-builder. Update the riscv-pk installation script to a recent version compatible with gcc > 15.
This comment was marked as off-topic.
This comment was marked as off-topic.
Hi @isa084, please do not introduce multiple topics into a single issue or pull-request. This PR is about the gcc 16.1 baremetal toolchain. If you'd like to ask a question about coremark please do so in a new/different Issue. If GitHub is not a good fit for the discussion, consider posting a question to the CVA6 channel on MatterMost. |
|
@MikeOpenHWGroup Sorry about that ! I will open another issue or post it on the CVA6 channel on Mattermost |
|
Hi @isa084 |
|
Hi @isa084, When we upgraded the CVA6 GCC baseline to version 15, the move (and the asociated effort) was motivated by a notable improvement in benchmark perfomance, especially on CoreMark. Does GCC 16 bring any significant benefits in target feature support /perf / code size compared to GCC 15? |
|
@zchamski from my past experience with ARM/RISC-V cores, there is no guarantee that merely upgrading the compiler will lead to performance improvements. I am in interested in investigating this further, once the above PR is accepted. |
|
Hello @isa084 |
|
To demonstrate the performance improvements, coremark job can be used. With GCC15, we are currently at 5 Coremark/MHz. |
The PR adds the following features to fix the issue mentioned in #3356 :
The final outcome is that users can now :