GCC Code Coverage Report
Directory: ./ Exec Total Coverage
File: lib/libcompiler_rt/fixdfti.c Lines: 0 1 0.0 %
Date: 2017-11-07 Branches: 0 0 0.0 %

Line Branch Exec Source
1
/* ===-- fixdfti.c - Implement __fixdfti -----------------------------------===
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
#include "int_lib.h"
12
13
#ifdef CRT_HAS_128BIT
14
#define DOUBLE_PRECISION
15
#include "fp_lib.h"
16
17
typedef ti_int fixint_t;
18
typedef tu_int fixuint_t;
19
#include "fp_fixint_impl.inc"
20
21
COMPILER_RT_ABI ti_int
22
__fixdfti(fp_t a) {
23
    return __fixint(a);
24
}
25
26
#endif /* CRT_HAS_128BIT */