summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/fp_fixint_impl.inc
Commit message (Collapse)AuthorAgeFilesLines
* builtins: spell inline as __inlineSaleem Abdulrasool2015-10-101-1/+1
| | | | | | | | | __inline is a vendor specific spelling for inline. clang and gcc treat it the same as inline, and is available in MSVC 2013 which does not implement C99 (VS2015 supports the inline keyword though). This will allow us to build the builtins using MSVC. llvm-svn: 249953
* Refactor float to integer conversion to share the same code.Joerg Sonnenberger2015-03-111-0/+41
80bit Intel/PPC long double is excluded due to lacking support for the abstraction. Consistently provide saturation logic. Extend to long double on 128bit IEEE extended platforms. Initial patch with test cases from GuanHong Liu. Reviewed by Steve Canon. Differential Revision: http://reviews.llvm.org/D2804 llvm-svn: 231965
OpenPOWER on IntegriCloud