[X86][BtVer2][MCA][NFC] Add CMPEQ dependency-breaking one-idioms tests
authorRoman Lebedev <lebedev.ri@gmail.com>
Wed, 4 Jul 2018 17:32:44 +0000 (17:32 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Wed, 4 Jul 2018 17:32:44 +0000 (17:32 +0000)
commit0dd27042c6e2a18e12e3a670add046f9fe8509ac
treeaefe2743e67f2f8af0678c50f7ad3b2d98693c8b
parentae1c4dcc6eeb4b9b335e118471695557186f48b7
[X86][BtVer2][MCA][NFC] Add CMPEQ dependency-breaking one-idioms tests

Summary: As per `Agner's Microarchitecture doc
(21.8 AMD Bobcat and Jaguar pipeline - Dependency-breaking instructions)`,
these, like zero-idioms, are dependency-breaking,
although they produce ones and still consume resources.

FIXME: as discussed in D48877, llvm-mca handling is broken for these.

Reviewers: andreadb

Reviewed By: andreadb

Subscribers: gbedwell, RKSimon, llvm-commits

Differential Revision: https://reviews.llvm.org/D48876

llvm-svn: 336292
llvm/test/tools/llvm-mca/X86/BtVer2/one-idioms.s [new file with mode: 0644]
llvm/test/tools/llvm-mca/X86/BtVer2/zero-idioms.s