[PATCH] D27898: [compiler-rt] [builtins] Implement __floattitf() & __floatuntitf()
Michał Górny via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 18 03:38:20 PST 2016
mgorny created this revision.
mgorny added reviewers: sdmitrouk, rengolin, zatrazz.
mgorny added a subscriber: cfe-commits.
Herald added subscribers: dberris, aemerson.
Implement the missing __floattitf() and __floatuntitf() functions, to
convert 128-bit (unsigned) integers to quad-precision floating-point
types. This is needed e.g. on AArch64 where 'long double' is
a quad-precision type.
The code is based on the existing code for __floattixf()
and __floatuntixf(), updated to account for different bit field lengths
of quad-precision float. The tests are also copied, with the rounding
tests adjusted for longer mantissa.
(tested on AArch64)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 24713 bytes
Desc: not available
More information about the cfe-commits