[llvm-exegesis] Add predefined floating point values so we can test impact of special...
authorGuillaume Chatelet <gchatelet@google.com>
Mon, 17 Sep 2018 11:09:32 +0000 (11:09 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Mon, 17 Sep 2018 11:09:32 +0000 (11:09 +0000)
commitcd488efe7e55aa3b4b36ab56ca12036b1869bfc4
tree0de4572d6612e71a540c9ba6cbf1cde39173d6aa
parent488fd4e6255d6216f2a678d9ac6a184f4e449695
[llvm-exegesis] Add predefined floating point values so we can test impact of special values on latency.

Summary: This will be useful to generate many configurations and test instruction regimes (NaN, Inf, subnormal, normal).

Reviewers: courbet

Subscribers: mgorny, tschuett, llvm-commits

Differential Revision: https://reviews.llvm.org/D51858

llvm-svn: 342369
llvm/tools/llvm-exegesis/lib/CMakeLists.txt
llvm/tools/llvm-exegesis/lib/RegisterValue.cpp [new file with mode: 0644]
llvm/tools/llvm-exegesis/lib/RegisterValue.h [new file with mode: 0644]
llvm/unittests/tools/llvm-exegesis/CMakeLists.txt
llvm/unittests/tools/llvm-exegesis/RegisterValueTest.cpp [new file with mode: 0644]