fixunssfti.c revision 279981
1276789Sdim/* ===-- fixunssfti.c - Implement __fixunssfti -----------------------------===
2276789Sdim *
3276789Sdim *                     The LLVM Compiler Infrastructure
4276789Sdim *
5276789Sdim * This file is dual licensed under the MIT and the University of Illinois Open
6276789Sdim * Source Licenses. See LICENSE.TXT for details.
7276789Sdim *
8276789Sdim * ===----------------------------------------------------------------------===
9276789Sdim *
10276789Sdim * This file implements __fixunssfti for the compiler_rt library.
11276789Sdim *
12276789Sdim * ===----------------------------------------------------------------------===
13276789Sdim */
14276789Sdim
15279981Sdim#if defined(CRT_HAS_128BIT)
16279981Sdimtypedef tu_int fixuint_t;
17279981Sdim#include "fp_fixuint_impl.inc"
18276789Sdim
19276789SdimCOMPILER_RT_ABI tu_int
20279981Sdim__fixunssfti(fp_t a) {
21279981Sdim    return __fixuint(a);
22276789Sdim}
23279981Sdim#endif
24