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 14296417SdimARM_EABI_FNALIAS(d2h, truncdfhf2) 15296417Sdim 16287516SdimCOMPILER_RT_ABI uint16_t __truncdfhf2(double a) { 17287516Sdim return __truncXfYf2__(a); 18287516Sdim} 19