[PATCH] D48877: [X86][BtVer2][MCA] Recognize CMPEQ one-idioms

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 3 11:02:23 PDT 2018


lebedev.ri updated this revision to Diff 153936.
lebedev.ri retitled this revision from "[X86][BtVer2][MCA] Recognize CMPEQ zero-idioms too" to "[X86][BtVer2][MCA] Recognize CMPEQ one-idioms".
lebedev.ri edited the summary of this revision.
lebedev.ri added a comment.

Hmm, so if they still consume resources, does this mean it is the lack of latency is what making them special?

FIXME: how do i test a custom snippet in llvm-exegesis? CC @courbet

  $ perl -e 'print "pcmpgtb %xmm5,%xmm5\n"x10000; print "retq"' > /tmp/snippet-ones,txt


Repository:
  rL LLVM

https://reviews.llvm.org/D48877

Files:
  lib/Target/X86/X86ScheduleBtVer2.td
  test/tools/llvm-mca/X86/BtVer2/one-idioms.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48877.153936.patch
Type: text/x-patch
Size: 13952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180703/3cdd9b25/attachment.bin>


More information about the llvm-commits mailing list