]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/builtins/fixunssfdi.c
Restore packaging subdir to enable running unmodified configure script.
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / builtins / fixunssfdi.c
1 /* ===-- fixunssfdi.c - Implement __fixunssfdi -----------------------------===
2  *
3  *                     The LLVM Compiler Infrastructure
4  *
5  * This file is dual licensed under the MIT and the University of Illinois Open
6  * Source Licenses. See LICENSE.TXT for details.
7  *
8  * ===----------------------------------------------------------------------===
9  */
10
11 #define SINGLE_PRECISION
12 #include "fp_lib.h"
13 typedef du_int fixuint_t;
14 #include "fp_fixuint_impl.inc"
15
16 ARM_EABI_FNALIAS(f2ulz, fixunssfdi)
17
18 COMPILER_RT_ABI du_int
19 __fixunssfdi(fp_t a) {
20     return __fixuint(a);
21 }