[PATCH] D77422: [llvm-exegesis] Add benchmark mode that uses LBR for more precise measurements.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 15:56:28 PDT 2020


oontvoo updated this revision to Diff 268012.
oontvoo added a comment.

Add test and option to check for expected CPU.

I can't seem to find a way to get the host CPU version (much less name or pmu capabilities) from the lit config, so I had to add the check to llvm-exegesis.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77422/new/

https://reviews.llvm.org/D77422

Files:
  llvm/docs/CommandGuide/llvm-exegesis.rst
  llvm/test/tools/llvm-exegesis/X86/lbr/Inputs/mov_add.att
  llvm/test/tools/llvm-exegesis/X86/lbr/lit.local.cfg
  llvm/test/tools/llvm-exegesis/X86/lbr/mov-add.s
  llvm/tools/llvm-exegesis/lib/PerfHelper.h
  llvm/tools/llvm-exegesis/lib/X86/CMakeLists.txt
  llvm/tools/llvm-exegesis/lib/X86/Target.cpp
  llvm/tools/llvm-exegesis/lib/X86/X86Counter.cpp
  llvm/tools/llvm-exegesis/lib/X86/X86Counter.h
  llvm/tools/llvm-exegesis/llvm-exegesis.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77422.268012.patch
Type: text/x-patch
Size: 19221 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200602/e5376b0f/attachment.bin>


More information about the llvm-commits mailing list