[llvm-bugs] [Bug 36661] New: [llvm-mca] Let scheduling models optionally specify the number of instructions retired per cycle.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 9 06:25:32 PST 2018


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

            Bug ID: 36661
           Summary: [llvm-mca] Let scheduling models optionally specify
                    the number of instructions retired per cycle.
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: andrea.dibiagio at gmail.com
                CC: llvm-bugs at lists.llvm.org

The idea is to let models optionally specify the maximum number of instructions
that can be retired per cycle.
At the moment, the LLVM machine model doesn't allow to specify the retire
throughput.

It should be easy to add that information in tablegen, and then have
llvm-mca query the machine scheduling model to get that value and correctly set
it for the analyzed CPU.

Example: on BtVer2, the retire control unit can retire up to 2 instructions per
cycle. At the moment, the only way to limit the retire throughput in llvm-mca,
is by using the command line flag -max-retire-per-cycle.

-- 
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/20180309/a37867c9/attachment.html>


More information about the llvm-bugs mailing list