llvm-project/llvm/test/tools/llvm-mca/X86/SLM
Simon Pilgrim 6eb8fc9244 [X86] Add some missing dependency-breaking zero idiom patterns to scheduler models
Many of the x86 scheduler models are not accounting for their microarch's ability to handle dependency-breaking zero idioms (pxor xmm0,xmm0 etc.), which is causing some notable differences when comparing llvm-mca reports to iaca, uops.info etc.

These are based on the Intel AoMs and Agner's docs which list the instructions handled on each cpu model - there may be more, although tbh the xor/pxor/xorps/xorpd are by far the most commonly encountered.

Once this is in place we also need to review missing support for 'allones' idioms and reg-reg move elimination, but this needs fixing first.

@lebedev.ri The Barcelona test changes are due to the cpu still being tagged as using the SandyBridge model, if/when you get back to D63628 these will need to be addressed.

Based on an original patch by @andreadb (Andrea Di Biagio)

Differential Revision: https://reviews.llvm.org/D117497
2022-01-19 11:29:33 +00:00
..
resources-aes.s
resources-cmov.s
resources-cmpxchg.s
resources-lea.s
resources-mmx.s
resources-movbe.s
resources-pclmul.s [X86][SLM] Fix uops for PCLMULQDQ 2021-10-17 18:13:14 +01:00
resources-popcnt.s
resources-prefetchw.s
resources-rdrand.s
resources-rdseed.s
resources-sse1.s [MCA][X86] Fix duplicated cvtsi2ss/cvtsi2sd i32 + i64 folded tests 2021-12-12 22:48:45 +00:00
resources-sse2.s [MCA][X86] Fix duplicated cvtsi2ss/cvtsi2sd i32 + i64 folded tests 2021-12-12 22:48:45 +00:00
resources-sse3.s [X86][SLM] Fix HADD/HSUB uops, latency and throughput 2021-09-11 11:44:09 +01:00
resources-sse41.s [X86][SLM] Fix ADDQ/SUBQ/CMPEQQ throughput to account for running on either port. 2021-09-24 10:06:14 +01:00
resources-sse42.s [X86][SLM] Fix uops for PCMPISTR/PCMPISTR instructions 2021-10-17 18:13:14 +01:00
resources-ssse3.s [X86][SLM] +1uop for PSHUFBrm xmm 2021-10-17 18:13:14 +01:00
resources-x86_32.s
resources-x86_64.s [X86][SLM] Fix BitTest+Set uops + port usage 2021-10-17 18:13:15 +01:00
resources-x87.s [X86] Add description of FXAM instruction 2021-06-25 12:26:51 +07:00
zero-idioms.s [X86] Add some missing dependency-breaking zero idiom patterns to scheduler models 2022-01-19 11:29:33 +00:00