summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/fixunsdfti.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix float->uint conversion for inputs less than 0Derek Schuff2015-05-011-1/+1
| | | | | | | | | | | | | | | | | | | | Summary: The spec for these functions says that they should return 0 in this case but this regressed in r234148. That revision essentially delegates the conversion to the hardware, but that has different behavior on different platforms (e.g. it is wrong on x86). Also fix a typo in the name of __fixunsdfti Test Plan: The existing unit tests now pass Reviewers: joerg, howard.hinnant Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9305 llvm-svn: 236319
* Refactor float to integer conversion to share the same code.Joerg Sonnenberger2015-03-111-30/+6
| | | | | | | | | | | | | 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
* Consistently use COMPILER_RT_ABI for all public symbols.Joerg Sonnenberger2014-03-011-1/+1
| | | | | | Move prototypes into headers and fix a few inconsistencies. llvm-svn: 202591
* Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms.Joerg Sonnenberger2014-02-211-2/+2
| | | | | | Use it to enable the various functions for TI mode. llvm-svn: 201909
* Move original compiler-rt functions (libgcc replacement) to lib/builtins ↵Alexey Samsonov2014-02-141-0/+47
directory llvm-svn: 201393
OpenPOWER on IntegriCloud