[PATCH] D113798: Add loop unrolling and peeling preferences for RISCV

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 8 09:35:46 PST 2021


luismarques added a comment.

In D113798#3174400 <https://reviews.llvm.org/D113798#3174400>, @asb wrote:

> - @luismarques reports this is performance neutral for Embench and Coremark on Ibex.

I think that was with an old version of this patch. With the current patch (now reverted) the numbers are:

CoreMark O3 <https://reviews.llvm.org/owners/package/3/>: +11.4% perf, 2.88 times the size
CoreMark O2 <https://reviews.llvm.org/owners/package/2/>: +9.36% perf, 2.88 times the size
Embench O3 <https://reviews.llvm.org/owners/package/3/>: no perf change, 23.6% size increase
Embench O2 <https://reviews.llvm.org/owners/package/2/>: no perf change, 28.6% size increase

No changes for Os and Oz.
That's almost tripling the CoreMark size.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113798/new/

https://reviews.llvm.org/D113798



More information about the llvm-commits mailing list