[llvm-dev] [llvm-exegesis] Uops mode isnćt working

Roman Lebedev via llvm-dev llvm-dev at lists.llvm.org
Tue Dec 17 06:42:04 PST 2019

That means the pfm counters are not specified correctly for that CPU.
You'll need to patch X86PfmCounter.td
Please do submit that patch to https://reviews.llvm.org/ afterwards!


On Tue, Dec 17, 2019 at 5:39 PM Milos Stojanovic via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hello,
> I've been testing llvm-exegesis on X86. Latency and inverse_throughput modes work fine but when I run uops I get an error:
> event not found - cannot create event uops_dispatched_port:port_0
> LLVM ERROR: invalid perf event 'uops_dispatched_port:port_0'
> I'm running this on a i7-4790K. Am I missing something on my computer or is this not yet fully implemented?
> This also affects the llvm-exegesis lit tests and they all get skipped becuse the configuration script determines that uops doens't work. This could be changed so that the tests still run the modes that work (latency and inverse_throughput in my case).
> Regards
> Miloš _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

More information about the llvm-dev mailing list