[PATCH] D30941: Better testing of schedule model instruction latencies/throughputs

Andrew V. Tischenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 03:17:22 PDT 2017


avt77 added a comment.

hfinkel, could you help me? First of all could you give me a link(s) to any doc(s) related to our MCSchedModel except sources?

Next, I was told that ResourceCycles here:
==========================================

class ProcWriteResources<list<ProcResourceKind> resources> {

  list<ProcResourceKind> ProcResources = resources;
  list<int> ResourceCycles = [];
  int Latency = 1;
  int NumMicroOps = 1;




could be used as Throughput of the given instruction. Is it right? Does it mean I could include it in generated comment as well? If YES I suppose it should be the max of the Cycles, right?


https://reviews.llvm.org/D30941





More information about the llvm-commits mailing list