OSDN Git Service

[X86][BtVer2] Added Jaguar cpu cycle counter to permit llvm-exegesis latency testing
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 24 May 2018 14:54:32 +0000 (14:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 24 May 2018 14:54:32 +0000 (14:54 +0000)
commit1aaff1e1d202ad26f89b65a8641759ee65ee6c5e
tree4a300170c7b2739031655fa7c218a2ae75bdbb70
parent936c00ed941d4a273ad2565377ac1dd9ccc87f98
[X86][BtVer2] Added Jaguar cpu cycle counter to permit llvm-exegesis latency testing

Ideally we'd be able to test a CPU by using __builtin_readcyclecounter()/RDTSC instead (PR37193) if a model/cycle-counter is not specified.

NOTE: Jaguar PMCs don't give good coverage of resource pipes specified in the model (at the macro-vs-micro-op levels) but we should be able to cover at least a few resources.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333190 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86PfmCounters.td