[PATCH] D46434: [llvm-exegesis] Fix pfm counter names for BDW.

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 4 08:26:57 PDT 2018


courbet created this revision.
courbet added a reviewer: gchatelet.
Herald added a subscriber: tschuett.

They are not consistent with other microarchitectures.


Repository:
  rL LLVM

https://reviews.llvm.org/D46434

Files:
  lib/Target/X86/X86PfmCounters.td


Index: lib/Target/X86/X86PfmCounters.td
===================================================================
--- lib/Target/X86/X86PfmCounters.td
+++ lib/Target/X86/X86PfmCounters.td
@@ -36,14 +36,14 @@
 
 let SchedModel = BroadwellModel in {
 def BWCycleCounter : PfmCycleCounter<"unhalted_core_cycles">;
-def BWPort0Counter : PfmIssueCounter<BWPort0, ["uops_dispatched_port:port_0"]>;
-def BWPort1Counter : PfmIssueCounter<BWPort1, ["uops_dispatched_port:port_1"]>;
-def BWPort2Counter : PfmIssueCounter<BWPort2, ["uops_dispatched_port:port_2"]>;
-def BWPort3Counter : PfmIssueCounter<BWPort3, ["uops_dispatched_port:port_3"]>;
-def BWPort4Counter : PfmIssueCounter<BWPort4, ["uops_dispatched_port:port_4"]>;
-def BWPort5Counter : PfmIssueCounter<BWPort5, ["uops_dispatched_port:port_5"]>;
-def BWPort6Counter : PfmIssueCounter<BWPort6, ["uops_dispatched_port:port_6"]>;
-def BWPort7Counter : PfmIssueCounter<BWPort7, ["uops_dispatched_port:port_7"]>;
+def BWPort0Counter : PfmIssueCounter<BWPort0, ["uops_executed_port:port_0"]>;
+def BWPort1Counter : PfmIssueCounter<BWPort1, ["uops_executed_port:port_1"]>;
+def BWPort2Counter : PfmIssueCounter<BWPort2, ["uops_executed_port:port_2"]>;
+def BWPort3Counter : PfmIssueCounter<BWPort3, ["uops_executed_port:port_3"]>;
+def BWPort4Counter : PfmIssueCounter<BWPort4, ["uops_executed_port:port_4"]>;
+def BWPort5Counter : PfmIssueCounter<BWPort5, ["uops_executed_port:port_5"]>;
+def BWPort6Counter : PfmIssueCounter<BWPort6, ["uops_executed_port:port_6"]>;
+def BWPort7Counter : PfmIssueCounter<BWPort7, ["uops_executed_port:port_7"]>;
 }
 
 let SchedModel = SkylakeClientModel in {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46434.145202.patch
Type: text/x-patch
Size: 1632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180504/801e08ee/attachment.bin>


More information about the llvm-commits mailing list