summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2015-03-17 15:48:19 +0000
committeremaste <emaste@FreeBSD.org>2015-03-17 15:48:19 +0000
commitc00b4703949f8f1b7a7d2bd81919b332794cbd7f (patch)
tree5bba3a1436ea5883e241128bc8b8b3fd6ddb5c69
parent0080aedd04e38ce957b60e7ed2e279869ad749b1 (diff)
downloadFreeBSD-src-c00b4703949f8f1b7a7d2bd81919b332794cbd7f.zip
FreeBSD-src-c00b4703949f8f1b7a7d2bd81919b332794cbd7f.tar.gz
Import compiler-rt r232125 by Joerg Sonnenberger
We want single precision here.
-rw-r--r--contrib/compiler-rt/lib/builtins/fixunssfti.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/compiler-rt/lib/builtins/fixunssfti.c b/contrib/compiler-rt/lib/builtins/fixunssfti.c
index 9593153..862d7bd 100644
--- a/contrib/compiler-rt/lib/builtins/fixunssfti.c
+++ b/contrib/compiler-rt/lib/builtins/fixunssfti.c
@@ -12,6 +12,9 @@
* ===----------------------------------------------------------------------===
*/
+#define SINGLE_PRECISION
+#include "fp_lib.h"
+
#if defined(CRT_HAS_128BIT)
typedef tu_int fixuint_t;
#include "fp_fixuint_impl.inc"
OpenPOWER on IntegriCloud