[PATCH] D44612: [X86] Generalize schedule classes to support multiple stages

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 19 04:52:08 PDT 2018


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86SchedBroadwell.td:108
+defm : BWWriteResPair<WriteIDiv, [BWPort0, BWDivider], 25, [1, 10]>;
 def : WriteRes<WriteIMulH, []> { let Latency = 3; } // Integer multiplication, high part.
 
----------------
courbet wrote:
> The default value on Res will create a inconsistent values ExePorts=[] ResourceCycles=[1]. 
This patch only affects the classes that use BWWriteResPair (and equivalents on other targets) - WriteIMulH doesn't have a Ld equivalent so uses the 'raw' WriteRes - its not affected by this change.


Repository:
  rL LLVM

https://reviews.llvm.org/D44612





More information about the llvm-commits mailing list