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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to