freebsd-dev/contrib/compiler-rt/lib/builtins/fixunssfdi.c

22 lines
572 B
C
Raw Normal View History

2010-10-21 19:02:02 +00:00
/* ===-- fixunssfdi.c - Implement __fixunssfdi -----------------------------===
*
* The LLVM Compiler Infrastructure
*
* This file is dual licensed under the MIT and the University of Illinois Open
* Source Licenses. See LICENSE.TXT for details.
2010-10-21 19:02:02 +00:00
*
* ===----------------------------------------------------------------------===
*/
#define SINGLE_PRECISION
#include "fp_lib.h"
typedef du_int fixuint_t;
#include "fp_fixuint_impl.inc"
2010-10-21 19:02:02 +00:00
2012-07-30 10:58:13 +00:00
ARM_EABI_FNALIAS(f2ulz, fixunssfdi)
2011-06-02 20:02:42 +00:00
COMPILER_RT_ABI du_int
__fixunssfdi(fp_t a) {
return __fixuint(a);
2010-10-21 19:02:02 +00:00
}