This ensures that the snippet always sees the same values for registers,
making measurements reproducible.
This will also allow exploring different values.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Simplify: VR128X (xmm0-31) includes VR128 (xmm0-8) and FR(32|64|128)X? (low subword of xmm).
llvm/trunk/unittests/tools/llvm-exegesis/X86/TargetTest.cpp | ||
---|---|---|
40 | Looks like this line has caused a build warning: utils/unittest/googlemock/include/gmock/gmock-matchers.h:216:60: warning: comparison of integers of different signs: 'const unsigned long' and 'const int' [-Wsign-compare] bool operator()(const A& a, const B& b) const { return a > b; } ~ ^ ~ [...] unittests/tools/llvm-exegesis/X86/TargetTest.cpp:40:3: note: in instantiation of function template specialization 'testing::internal::PredicateFormatterFromMatcher<testing::internal::SizeIsMatcher<testing::internal::GtMatcher<int> > >::operator()<std::vector<llvm::MCInst, std::allocator<llvm::MCInst> > >' requested here EXPECT_THAT(Insts, SizeIs(Gt(0))); ^ |
llvm/trunk/unittests/tools/llvm-exegesis/X86/TargetTest.cpp | ||
---|---|---|
40 | Sorry about that. This was fixed in r335547. |
Looks like this line has caused a build warning: