[llvm] [RISCV][llvm-exegesis] Add default Pfm cycle counter. (PR #121866)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 6 21:51:33 PST 2025


boomanaiden154 wrote:

> Using repetition-mode=middle-half-duplicate|middle-half-loop both gave a value closer to 1.0 for simple scalar, and 3.0 for mul. I was using the default before. This is my first time running llvm-exegesis.

How much closer? On x86 they're pretty on the dot and can even reasonably consistently give integer throughputs. If that gives a value pretty close to one it's interesting how high the ioctl syscall overhead is.

I'm not sure it's a super common option. I implemented it I think about a year ago and assume I'm probably the only user currently.

https://github.com/llvm/llvm-project/pull/121866


More information about the llvm-commits mailing list