[llvm-exegesis] X87 RFP setup code.
authorClement Courbet <courbet@google.com>
Fri, 19 Oct 2018 09:56:54 +0000 (09:56 +0000)
committerClement Courbet <courbet@google.com>
Fri, 19 Oct 2018 09:56:54 +0000 (09:56 +0000)
commitc51f45239d7dbac7e8f8243937320843e120a90d
tree0be235eac54b6c86fb760cd9ca32bc33c72cfa0c
parentc0d541d74a3cae42f7cca69f51ab2706567e40dd
[llvm-exegesis] X87 RFP setup code.

Summary:
This was lost during refactoring in rL342644.

Fix and simplify simplify value size handling: always go through a 80 bit value,
because the value can be 1 byte). Add unit tests.

Reviewers: gchatelet

Subscribers: tschuett, llvm-commits

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

llvm-svn: 344779
llvm/tools/llvm-exegesis/lib/X86/Target.cpp
llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp