[llvm-exegesis][X86] Add memory pipe counters to SLM model
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Dec 2022 11:28:22 +0000 (11:28 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 12 Dec 2022 12:09:11 +0000 (12:09 +0000)
commit00a2d6e23d311b1459e326caa497834a6ccbda33
tree6719fb0a7d743ed69fe3a7017a57f93ce856e682
parentbb4a955f27c13197f1dd1d604570bd764080b03c
[llvm-exegesis][X86] Add memory pipe counters to SLM model

There might not be any exposed alu pipe counters for us to measure - but the sum of load/store uop counters seems to give a really good approximation to memory controller usage - even for more complex instructions like cmpxchg
llvm/lib/Target/X86/X86PfmCounters.td