summaryrefslogtreecommitdiffstats
path: root/contrib/compiler-rt/lib/floatunsisf.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2011-06-04 22:05:20 +0000
committerattilio <attilio@FreeBSD.org>2011-06-04 22:05:20 +0000
commit8e66ca1ff16b21df31a40fa743f8df3844507305 (patch)
tree7235c316aab81a86e3bfc131b1abae5475040624 /contrib/compiler-rt/lib/floatunsisf.c
parent91525e4ff96713dd3149a3477069cc7213d0abae (diff)
parent786c89f781c52e7423abdc562256ef0830f60be6 (diff)
downloadFreeBSD-src-8e66ca1ff16b21df31a40fa743f8df3844507305.zip
FreeBSD-src-8e66ca1ff16b21df31a40fa743f8df3844507305.tar.gz
MFC
Diffstat (limited to 'contrib/compiler-rt/lib/floatunsisf.c')
-rw-r--r--contrib/compiler-rt/lib/floatunsisf.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/compiler-rt/lib/floatunsisf.c b/contrib/compiler-rt/lib/floatunsisf.c
index 31c0644..14ef103 100644
--- a/contrib/compiler-rt/lib/floatunsisf.c
+++ b/contrib/compiler-rt/lib/floatunsisf.c
@@ -2,8 +2,8 @@
//
// The LLVM Compiler Infrastructure
//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
@@ -12,10 +12,15 @@
// mode.
//
//===----------------------------------------------------------------------===//
+#include "abi.h"
#define SINGLE_PRECISION
#include "fp_lib.h"
+#include "int_lib.h"
+
+ARM_EABI_FNALIAS(ui2f, floatunsisf);
+
fp_t __floatunsisf(unsigned int a) {
const int aWidth = sizeof a * CHAR_BIT;
OpenPOWER on IntegriCloud