summaryrefslogtreecommitdiff
path: root/lib/builtins/int_types.h
AgeCommit message (Collapse)Author
2017-05-04[compiler-rt][mips] Add support for quad precision builtins for mips64Simon Dardis
Match the builtins that GCC provides for IEEE754 quad precision on MIPS64. Also, enable building them with clang as PR20098 is resolved. Disable tests for xf and xc modes as MIPS doesn't support that mode in hardware or software. Reviewers: slthakur Differential Revision: https://reviews.llvm.org/D32794 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@302147 91177308-0d34-0410-b5e6-96231b3b80d8
2016-01-13[WebAssembly] clang supports int128_t on wasm32 in addition to wasm64.Dan Gohman
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@257618 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-01builtins: Fix the sysroot's reference to si_int in int_types.hSumanth Gundapaneni
si_int is already defined in sysroot's siginfo.h emutls.c includes pthread.h which includes asm/siginfo.h which in turn includes asm-generic/siginfo.h and that defines si_int. si_int is also defined in builtin's int_types.h and this leads to errors. This patch fixes the issue by undefining the si_int in int_types.h Differential Revision: http://reviews.llvm.org/D15086 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@254472 91177308-0d34-0410-b5e6-96231b3b80d8
2015-10-10builtins: spell inline as __inlineSaleem 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-10-07builtins: emulate _Complex for clSaleem Abdulrasool
cl does not support C99 completely as of VS2015. Emulate _Complex to allow building with MSVC. Patch by Tee Hao Wei! git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@249514 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-18Do not define CRT_HAS_128BIT for MIPS64Petar Jovanovic
Do not define it for MIPS64 until its backend supports it. See the bug report [1] for more information. [1] http://llvm.org/bugs/show_bug.cgi?id=20098 Differential Revision: http://reviews.llvm.org/D6703 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@224488 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-19Revert use of 128bit support on 32bit PPC, it breaks build at least withJoerg Sonnenberger
GCC and that doesn't expose any *ti* functions either. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@209133 91177308-0d34-0410-b5e6-96231b3b80d8
2014-05-12Define CRT_HAS_128BIT even for PPC32Hal Finkel
r201909, which introduced CRT_HAS_128BIT, unintentionally broke self-hosting on PPC32. We used to define CRT_HAS_128BIT only on LP64 systems, but this is not quite right (at least for Clang-compiled code). Even though __int128 is not supported on PPC32, SROA can (and does) still form i128 variables at the IR level, and operations on those variables may turn into the associated runtime calls. As a result, we still need to compile __ashlti3, __ashrti3, __lshrti3, and perhaps others, on PPC32. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208560 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-21Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms.Joerg Sonnenberger
Use it to enable the various functions for TI mode. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201909 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-14Move original compiler-rt functions (libgcc replacement) to lib/builtins ↵Alexey Samsonov
directory git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201393 91177308-0d34-0410-b5e6-96231b3b80d8