Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-10 | builtins: spell inline as __inline | Saleem Abdulrasool | |
__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. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@249953 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2015-05-12 | [Builtins] Implement half-precision conversions. | Ahmed Bougacha | |
Mostly uninteresting, except: - in __extendXfYf2, when checking if the number is normal, the old code relied on the unsignedness of src_rep_t, which is a problem when sizeof(src_rep_t) < sizeof(int): the result gets promoted to int, the signedness of which breaks the comparison. I added an explicit cast; it shouldn't affect other types. - we can't pass __fp16, so src_t and src_rep_t are the same. - the gnu_*_ieee symbols are simply duplicated definitions, as aliases are problematic on mach-o (where only weak aliases are supported; that's not what we want). Differential Revision: http://reviews.llvm.org/D9693 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@237161 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2014-05-29 | Refactor truncdfsf2. | Joerg Sonnenberger | |
Patch by: GuanHong Liu Differential Revision: http://reviews.llvm.org/D3888 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209779 91177308-0d34-0410-b5e6-96231b3b80d8 |