llvm-project/llvm/test/tools/llvm-mca/X86/Haswell
Clement Courbet e6b727e552 [X86] Fix VZEROUPPER scheduling info on SNB,HSW,BDW,SXL,SKX.
Summary:
Starting from SNB, VZEROUPPER is handled by the renamer and uses no proc resources.
After HSW, it also has zero latency.

This fixes PR35606.

To reproduce:
Uops:
  llvm-exegesis -mode=uops -opcode-name=VZEROUPPER
Latency:
  echo -e '#LLVM-EXEGESIS-DEFREG XMM0 1\n#LLVM-EXEGESIS-DEFREG XMM1 1\nvzeroupper' | /tmp/llvm-exegesis -mode=latency -snippets-file=-
  echo -e '#LLVM-EXEGESIS-DEFREG XMM0 1\n#LLVM-EXEGESIS-DEFREG XMM1 1\nvzeroupper\naddps %xmm0, %xmm1' | /tmp/llvm-exegesis -mode=latency -snippets-file=-

Reviewers: RKSimon, craig.topper, andreadb

Subscribers: gbedwell, llvm-commits

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

llvm-svn: 346482
2018-11-09 09:49:06 +00:00
..
cmpxchg16b.s [llvm-mca] Report the number of dispatched micro opcodes in the DispatchStatistics view. 2018-08-30 10:50:20 +00:00
resources-avx1.s [X86] Fix VZEROUPPER scheduling info on SNB,HSW,BDW,SXL,SKX. 2018-11-09 09:49:06 +00:00
resources-avx2.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-bmi1.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-bmi2.s [X86] Split WriteIMul into 8/16/32/64 implementations (PR36931) 2018-09-24 15:21:57 +00:00
resources-cmov.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-cmpxchg.s [llvm-mca][x86] Add CMPXCHG instruction resource tests 2018-08-01 17:25:11 +00:00
resources-f16c.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-fma.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-lea.s [llvm-mca][x86] Add LEA instruction resource tests 2018-08-01 14:25:33 +00:00
resources-lzcnt.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-mmx.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-movbe.s [llvm-mca][x86] Add MOVBE resource tests to all supporting targets 2018-07-17 17:41:45 +00:00
resources-pclmul.s [llvm-mca][x86] Add PCLMUL instruction resource tests 2018-08-01 16:25:50 +00:00
resources-popcnt.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-sse1.s [X86] Fix MayLoad/HasSideEffect flag for (V)MOVLPSrm instructions. 2018-07-11 15:27:50 +00:00
resources-sse2.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-sse3.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-sse41.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-sse42.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-ssse3.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00
resources-x86_32.s [llvm-mca][x86] Add 32-bit instruction resource tests 2018-07-31 17:33:08 +00:00
resources-x86_64.s [X86] ROR*mCL instruction models should match ROL*mCL etc. 2018-09-23 19:16:01 +00:00
resources-x87.s [llvm-mca] Use a different character to flag instructions with side-effects in the Instruction Info View. NFC 2018-07-11 12:44:44 +00:00