[llvm] [llvm-exegesis] Add Pfm Counters for SapphireRapids (PR #113847)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 28 09:04:25 PDT 2024


================
@@ -59,6 +59,8 @@ def SPRPort01_05          : ProcResGroup<[SPRPort01, SPRPort05]>;
 def SPRPort01_05_10       : ProcResGroup<[SPRPort01, SPRPort05, SPRPort10]>;
 def SPRPort02_03          : ProcResGroup<[SPRPort02, SPRPort03]>;
 def SPRPort02_03_11       : ProcResGroup<[SPRPort02, SPRPort03, SPRPort11]>;
+def SPRPort02_03_10       : ProcResGroup<[SPRPort02, SPRPort03, SPRPort10]>;
+def SPRPort05_11          : ProcResGroup<[SPRPort05, SPRPort11]>;
----------------
boomanaiden154 wrote:

Are we sure this isn't a typo in the optimization manual there? All of the other tools being different makes it seem like something might be up here.

I just took the names of the performance counters from libpfm, so it would probably need to be adjusted there too first.

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


More information about the llvm-commits mailing list