[llvm-bugs] [Bug 39470] New: [llvm-exegesis] Regression in dual-counter IssueCounters?

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Oct 28 10:13:28 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39470

            Bug ID: 39470
           Summary: [llvm-exegesis] Regression in dual-counter
                    IssueCounters?
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-exegesis
          Assignee: unassignedbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: clement.courbet at gmail.com, gchatelet at google.com,
                    llvm-bugs at lists.llvm.org

BdVer2PfmCounters:
  let IssueCounters = [
    PfmIssueCounter<"PdFPU0", "dispatched_fpu_ops:ops_pipe0 +
dispatched_fpu_ops:ops_dual_pipe0">,
    PfmIssueCounter<"PdFPU1", "dispatched_fpu_ops:ops_pipe1 +
dispatched_fpu_ops:ops_dual_pipe1">,
    PfmIssueCounter<"PdFPU2", "dispatched_fpu_ops:ops_pipe2 +
dispatched_fpu_ops:ops_dual_pipe2">,
    PfmIssueCounter<"PdFPU3", "dispatched_fpu_ops:ops_pipe3 +
dispatched_fpu_ops:ops_dual_pipe3">
  ];

$ ./bin/llvm-exegesis -num-repetitions=10000 -mode=uops -opcode-name=VFRCZPSrr
Check generated assembly with: /usr/bin/objdump -d /tmp/snippet-624fd8.o
invalid parameters - cannot create event dispatched_fpu_ops:ops_pipe0 +
dispatched_fpu_ops:ops_dual_pipe0
LLVM ERROR: invalid perf event dispatched_fpu_ops:ops_pipe0 +
dispatched_fpu_ops:ops_dual_pipe0

But i'm quite sure it worked previously:
https://reviews.llvm.org/D52779?id=168591#change-UdOsbdBmtWmc

This works:
  let IssueCounters = [
    PfmIssueCounter<"PdFPU0", "dispatched_fpu_ops:ops_pipe0">,
    PfmIssueCounter<"PdFPU1", "dispatched_fpu_ops:ops_pipe1">
  ];
This does not:
  let IssueCounters = [
    PfmIssueCounter<"PdFPU0", "dispatched_fpu_ops:ops_pipe0 +
dispatched_fpu_ops:ops_pipe1">
  ];

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181028/b3a188b4/attachment.html>


More information about the llvm-bugs mailing list