Home | History | Annotate | Download | only in builtins
      1 /* ===-- fixunsdfsi.c - Implement __fixunsdfsi -----------------------------===
      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"
     13 typedef su_int fixuint_t;
     14 #include "fp_fixuint_impl.inc"
     15 
     16 ARM_EABI_FNALIAS(d2uiz, fixunsdfsi)
     17 
     18 COMPILER_RT_ABI su_int
     19 __fixunsdfsi(fp_t a) {
     20     return __fixuint(a);
     21 }
     22