summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/api/multithreaded
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2016-10-27 21:39:51 +0000
committerTim Shen <timshen91@gmail.com>2016-10-27 21:39:51 +0000
commitf38e87fa48c66957a90ce41e4f41bbdc80ad6953 (patch)
treea33c94d12f4d4e046a5e8016d0bec37ec6062102 /lldb/packages/Python/lldbsuite/test/api/multithreaded
parentfc0a99bfda0b18458bbbf5605be0aac3b83e038a (diff)
downloadbcm5719-llvm-f38e87fa48c66957a90ce41e4f41bbdc80ad6953.tar.gz
bcm5719-llvm-f38e87fa48c66957a90ce41e4f41bbdc80ad6953.zip
[APFloat] Add DoubleAPFloat mode to APFloat. NFC.
Summary: This patch adds DoubleAPFloat mode to APFloat. Now, an APFloat with semantics PPCDoubleDouble will have DoubleAPFloat layout (APFloat.U.Double), which contains two underlying APFloats as PPCDoubleDoubleImpl and IEEEdouble semantics. Currently the IEEEdouble APFloat is not used, and the first APFloat behaves exactly the same before this change. This patch consists of three kinds of logics: 1) Construction and destruction of APFloat. Now the ctors, dtor, assign opertors and factory functions construct different underlying layout based on the semantics passed in. 2) s/IEEE/getIEEE()/ for normal, lifetime-unrelated computation functions. These functions only access Floats[0] in DoubleAPFloat, which is the same as today's semantic. 3) A "Double dispatch" function, APFloat::convert. Converting between two different layouts requires appropriate logic. Neither of these change the external behavior. Reviewers: hfinkel, kbarton, echristo, iteratee Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D25977 llvm-svn: 285351
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/api/multithreaded')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud