[PATCH] D85254: [llvm-exegesis] Add option to check the hardware support for a given feature before benchmarking.

Vy Nguyen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 15:36:33 PDT 2020


oontvoo created this revision.
oontvoo added a reviewer: ondrasej.
Herald added subscribers: llvm-commits, mstojanovic, krytarowski.
Herald added a project: LLVM.
oontvoo requested review of this revision.
Herald added a subscriber: courbet.

This is mostly for the benefit of the LBR latency mode.
Right now, it performs no checking. If this is run on a non-supported hardware, it will produce all zeroes for latency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85254

Files:
  llvm/test/tools/llvm-exegesis/X86/lbr/lit.local.cfg
  llvm/tools/llvm-exegesis/lib/Target.h
  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: D85254.283045.patch
Type: text/x-patch
Size: 8591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200804/688f8377/attachment.bin>


More information about the llvm-commits mailing list