truncdfhf2.c revision 287516
1287516Sdim//===-- lib/truncdfhf2.c - double -> half conversion --------------*- C -*-===//
2287516Sdim//
3287516Sdim//                     The LLVM Compiler Infrastructure
4287516Sdim//
5287516Sdim// This file is dual licensed under the MIT and the University of Illinois Open
6287516Sdim// Source Licenses. See LICENSE.TXT for details.
7287516Sdim//
8287516Sdim//===----------------------------------------------------------------------===//
9287516Sdim
10287516Sdim#define SRC_DOUBLE
11287516Sdim#define DST_HALF
12287516Sdim#include "fp_trunc_impl.inc"
13287516Sdim
14287516SdimCOMPILER_RT_ABI uint16_t __truncdfhf2(double a) {
15287516Sdim    return __truncXfYf2__(a);
16287516Sdim}
17