fixunsdfdi.c revision 7c9150579ed0278492f51cc8434b1d63a44b9bd1
1/* ===-- fixunsdfdi.c - Implement __fixunsdfdi -----------------------------===
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 DOUBLE_PRECISION
12#include "fp_lib.h"
13typedef du_int fixuint_t;
14#include "fp_fixuint_impl.inc"
15
16ARM_EABI_FNALIAS(d2ulz, fixunsdfdi)
17
18COMPILER_RT_ABI du_int
19__fixunsdfdi(fp_t a) {
20    return __fixuint(a);
21}
22