[PATCH] D49861: [X86] Improved sched models for X86 XCHG*rr and XADD*rr instructions

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 09:34:55 PDT 2018


RKSimon added inline comments.


================
Comment at: lib/Target/X86/X86Schedule.td:123
 defm WriteBSWAP64: X86SchedWritePair; // Byte Order (Endiannes) Swap
+def  WriteXCHG   : SchedWrite;
 
----------------
lebedev.ri wrote:
> `// Exchange the contents of two operands`
> ?
Add
```
// Compare+Exchange - TODO RMW support.
```


https://reviews.llvm.org/D49861





More information about the llvm-commits mailing list