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

Clement Courbet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 3 23:12:10 PDT 2018


courbet added a comment.

In https://reviews.llvm.org/D48877#1151042, @lebedev.ri wrote:

> 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
>


For now, you can't, but it's very easy to add, so we should support it. I've created PR38048.


Repository:
  rL LLVM

https://reviews.llvm.org/D48877





More information about the llvm-commits mailing list