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

Andrea Di Biagio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 21 08:10:09 PDT 2019


andreadb updated this revision to Diff 216405.
andreadb edited the summary of this revision.
andreadb added a comment.

Patch updated.

The observed maximum throughput for XADDrr and XCHG8rr is 0.5 IPC, and not 1 IPC - as previously reported.
Increased the number of ALU resource cycles consumed by XADD and XCHG8rr to better match the real throughput of those opcodes.


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

https://reviews.llvm.org/D66535

Files:
  lib/Target/X86/X86ScheduleBtVer2.td
  test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s
  test/tools/llvm-mca/X86/BtVer2/xadd.s
  test/tools/llvm-mca/X86/BtVer2/xchg.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66535.216405.patch
Type: text/x-patch
Size: 29781 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190821/4c08a506/attachment.bin>


More information about the llvm-commits mailing list