[PATCH] D55432: [X86] Improve pfm counter cpu coverage for llvm-exegesis

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 7 06:44:07 PST 2018


RKSimon created this revision.
RKSimon added reviewers: craig.topper, courbet, gchatelet, lebedev.ri, andreadb.
Herald added a subscriber: tschuett.

As discussed on email, this patch attempts to improve pfm perf counter coverage for all the x86 cpus that libpfm4 supports.

Intel/AMD CPU families tend to share names for cycle/uops counters so even if they don't have a scheduler model yet they can at least use the default values (checked against the libpfm4 source code).

The remaining CPUs (where their port/pipe resource pfms are known) I've tried to add to the existing model mappings.

These are untested but don't represent a regression to current llvm-exegesis behaviour for these CPUs.


Repository:
  rL LLVM

https://reviews.llvm.org/D55432

Files:
  lib/Target/X86/X86PfmCounters.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55432.177205.patch
Type: text/x-patch
Size: 4972 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181207/85d88052/attachment.bin>


More information about the llvm-commits mailing list