diff options
author | dim <dim@FreeBSD.org> | 2014-02-22 00:09:43 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-02-22 00:09:43 +0000 |
commit | 102abf6fd2a7ebb3465a08a2cfa2477ce22e4eef (patch) | |
tree | f5970dadaae99bbf64fa126ad530579b7339b791 /contrib/compiler-rt/lib/floatuntisf.c | |
parent | 8a524adf6453224712ce614762dcb40e736c7b84 (diff) | |
download | FreeBSD-src-102abf6fd2a7ebb3465a08a2cfa2477ce22e4eef.zip FreeBSD-src-102abf6fd2a7ebb3465a08a2cfa2477ce22e4eef.tar.gz |
Pull in r201909 from upstream compiler-rt trunk (by Joerg Sonnenberger):
Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms.
Use it to enable the various functions for TI mode.
This makes sure the correct primitives are also built for sparc64.
Diffstat (limited to 'contrib/compiler-rt/lib/floatuntisf.c')
-rw-r--r-- | contrib/compiler-rt/lib/floatuntisf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/compiler-rt/lib/floatuntisf.c b/contrib/compiler-rt/lib/floatuntisf.c index c8da260..e65db57 100644 --- a/contrib/compiler-rt/lib/floatuntisf.c +++ b/contrib/compiler-rt/lib/floatuntisf.c @@ -14,7 +14,7 @@ #include "int_lib.h" -#if __x86_64 +#ifdef CRT_HAS_128BIT /* Returns: convert a to a float, rounding toward even. */ @@ -78,4 +78,4 @@ __floatuntisf(tu_int a) return fb.f; } -#endif +#endif /* CRT_HAS_128BIT */ |