[llvm] r336089 - [X86][BtVer2] Added Jaguar FPU Pipe0/1 uop counters to permit basic llvm-exegesis uop testing
    Simon Pilgrim via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Jul  2 02:15:01 PDT 2018
    
    
  
Author: rksimon
Date: Mon Jul  2 02:15:01 2018
New Revision: 336089
URL: http://llvm.org/viewvc/llvm-project?rev=336089&view=rev
Log:
[X86][BtVer2] Added Jaguar FPU Pipe0/1 uop counters to permit basic llvm-exegesis uop testing
We don't have PMCs to cover many of the Jaguar resources but we can at least monitor the FPU issue pipes which give an indication of the fpu uop count, just not the execution resources.
Modified:
    llvm/trunk/lib/Target/X86/X86PfmCounters.td
Modified: llvm/trunk/lib/Target/X86/X86PfmCounters.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86PfmCounters.td?rev=336089&r1=336088&r2=336089&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86PfmCounters.td (original)
+++ llvm/trunk/lib/Target/X86/X86PfmCounters.td Mon Jul  2 02:15:01 2018
@@ -72,4 +72,6 @@ def SKXPort7Counter : PfmIssueCounter<SK
 
 let SchedModel = BtVer2Model in {
 def JCycleCounter : PfmCycleCounter<"cpu_clk_unhalted">;
+def JFPU0Counter  : PfmIssueCounter<JFPU0, ["dispatched_fpu:pipe0"]>;
+def JFPU1Counter  : PfmIssueCounter<JFPU1, ["dispatched_fpu:pipe1"]>;
 }
    
    
More information about the llvm-commits
mailing list