1 /* ===-- fixunsdfsi.c - Implement __fixunsdfsi -----------------------------===
3 * The LLVM Compiler Infrastructure
5 * This file is dual licensed under the MIT and the University of Illinois Open
6 * Source Licenses. See LICENSE.TXT for details.
8 * ===----------------------------------------------------------------------===
11 #define DOUBLE_PRECISION
13 typedef su_int fixuint_t;
14 #include "fp_fixuint_impl.inc"
16 COMPILER_RT_ABI su_int
17 __fixunsdfsi(fp_t a) {
21 #if defined(__ARM_EABI__)
22 #if defined(COMPILER_RT_ARMHF_TARGET)
23 AEABI_RTABI su_int __aeabi_d2uiz(fp_t a) {
24 return __fixunsdfsi(a);
27 AEABI_RTABI su_int __aeabi_d2uiz(fp_t a) COMPILER_RT_ALIAS(__fixunsdfsi);