[PATCH] D50070: [X86] Improved sched models for X86 CMPXCHG* instructions

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 21 11:33:16 PDT 2018


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86SchedSandyBridge.td:119
+defm : X86WriteRes<WriteCMPXCHG,   [SBPort05,SBPort015], 5, [1,3], 4>;
+defm : X86WriteRes<WriteCMPXCHGLd, [SBPort015, SBPort05, SBPort4, SBPort23], 8, [1,2,1,2], 6>;
 
----------------
The port4 and one of the port23 shouldn't be here. They come from WriteRMW that WriteCMPXCHGLd is paired with.


https://reviews.llvm.org/D50070





More information about the llvm-commits mailing list