summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/builtins/floatuntisf.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2014-02-21 23:53:03 +0000
committerJoerg Sonnenberger <joerg@bec.de>2014-02-21 23:53:03 +0000
commit938b0df72dcaaeddcc0eb10a39bc5c66e84fbc80 (patch)
treefa0918b5bbc26e08c2f7f3d094fcf831e7a7dcd1 /compiler-rt/lib/builtins/floatuntisf.c
parente245715fca522169779834c6d5bd2fbb65fbdffe (diff)
downloadbcm5719-llvm-938b0df72dcaaeddcc0eb10a39bc5c66e84fbc80.tar.gz
bcm5719-llvm-938b0df72dcaaeddcc0eb10a39bc5c66e84fbc80.zip
Introduce CRT_HAS_128BIT, currently for all __LP64__ platforms.
Use it to enable the various functions for TI mode. llvm-svn: 201909
Diffstat (limited to 'compiler-rt/lib/builtins/floatuntisf.c')
-rw-r--r--compiler-rt/lib/builtins/floatuntisf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/builtins/floatuntisf.c b/compiler-rt/lib/builtins/floatuntisf.c
index c8da2601ba8..e65db57f1d1 100644
--- a/compiler-rt/lib/builtins/floatuntisf.c
+++ b/compiler-rt/lib/builtins/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 */
OpenPOWER on IntegriCloud