2015-03-14 12:40:19 +00:00
|
|
|
/* ===-- fixdfsi.c - Implement __fixdfsi -----------------------------------===
|
|
|
|
*
|
|
|
|
* 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 DOUBLE_PRECISION
|
|
|
|
#include "fp_lib.h"
|
2015-03-14 12:40:19 +00:00
|
|
|
typedef si_int fixint_t;
|
|
|
|
typedef su_int fixuint_t;
|
|
|
|
#include "fp_fixint_impl.inc"
|
2011-06-02 20:02:42 +00:00
|
|
|
|
2012-07-30 10:58:13 +00:00
|
|
|
ARM_EABI_FNALIAS(d2iz, fixdfsi)
|
2011-06-02 20:02:42 +00:00
|
|
|
|
2015-03-14 12:40:19 +00:00
|
|
|
COMPILER_RT_ABI si_int
|
2015-01-07 19:55:37 +00:00
|
|
|
__fixdfsi(fp_t a) {
|
2015-03-14 12:40:19 +00:00
|
|
|
return __fixint(a);
|
2010-10-21 19:02:02 +00:00
|
|
|
}
|