[llvm] [llvm-exegesis] Add support for alder lake (PR #88967)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 20 02:54:17 PDT 2024
================
@@ -204,6 +204,27 @@ def : PfmCountersBinding<"icelake-server", IceLakePfmCounters>;
def : PfmCountersBinding<"rocketlake", IceLakePfmCounters>;
def : PfmCountersBinding<"tigerlake", IceLakePfmCounters>;
+def AlderLakePfmCounters : ProcPfmCounters {
+ let CycleCounter = UnhaltedCoreCyclesPfmCounter;
+ let UopsCounter = UopsIssuedPfmCounter;
+ let IssueCounters = [
+ PfmIssueCounter<"ADLPPort00", "uops_dispatched_port:port_0">,
+ PfmIssueCounter<"ADLPPort01", "uops_dispatched_port:port_1">,
+ PfmIssueCounter<"ADLPPort02", "uops_dispatched_port:port_2_3_10">,
+ PfmIssueCounter<"ADLPPort03", "uops_dispatched_port:port_2_3_10">,
+ PfmIssueCounter<"ADLPPort04", "uops_dispatched_port:port_4_9">,
----------------
RKSimon wrote:
Use ADLPPort04_09 instead - adding the other ProcResGroup combos to X86SchedAlderlakeP.td shouldn't be a problem.
https://github.com/llvm/llvm-project/pull/88967
More information about the llvm-commits
mailing list