[llvm-dev] llvm-mca for in-order CPUs (was Re: LLVM Weekly - #375, March 8th 2021) (original) (raw)
Andrew Trick via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 9 09:54:32 PST 2021
- Previous message: [llvm-dev] llvm-mca for in-order CPUs (was Re: LLVM Weekly - #375, March 8th 2021)
- Next message: [llvm-dev] llvm-mca for in-order CPUs (was Re: LLVM Weekly - #375, March 8th 2021)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mar 9, 2021, at 8:33 AM, Andrew Savonichev via llvm-dev <llvm-dev at lists.llvm.org> wrote:
But I am really shooting in the dark here. I don't have a good understanding of the difference between MicroOpBufferSize=0 and 1, and I am not even sure which setting is really best for AMDGPU. Frankly, I don't know what is the difference between MicroOpBufferSize=0 and 1. We should probably treat them the same for MCA, so your changes look good.
We should really have some alias for MicroOpBufferSize=0/1. It’s too cryptic.
InOrder => MicroOpBufferSize=1 VLIW => MicroOpBufferSize=0
It only affects what instructions the scheduler puts in the ready queue. In VLIW-mode, the scheduler only considers instructions that can be scheduled in the current group. In InOrder mode, the scheduler can weigh the potential latency stall against other heuristics. I don’t think it’s relevant for MCA.
-Andy
// "0" means operations that are not ready in this cycle are not considered // for scheduling (they go in the pending queue). Latency is paramount. This // may be more efficient if many instructions are pending in a schedule. // // "1" means all instructions are considered for scheduling regardless of // whether they are ready in this cycle. Latency still causes issue stalls, // but we balance those stalls against other heuristics. // // "> 1" means the processor is out-of-order. This is a machine independent // estimate of highly machine specific characteristics such as the register // renaming pool and reorder buffer.
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210309/406872ac/attachment.html>
- Previous message: [llvm-dev] llvm-mca for in-order CPUs (was Re: LLVM Weekly - #375, March 8th 2021)
- Next message: [llvm-dev] llvm-mca for in-order CPUs (was Re: LLVM Weekly - #375, March 8th 2021)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]