[PATCH] D66535: [X86][BtVer2] Fix latency and throughput of XCHG and XADD.

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 11:38:42 PDT 2019


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86ScheduleBtVer2.td:406
+
+def JWriteXADDrm_XCHG_Part : SchedWriteRes<[JALU01]> {
+  let Latency = 3;  // load-to-use latency
----------------
It'd be useful if you could add an explanatory comment - all the '_Part' defs are confusing - it takes a while to understand the latency dependencies.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66535/new/

https://reviews.llvm.org/D66535





More information about the llvm-commits mailing list