blob: 17195cd9e7991f8340db40c60ec6416a3840c0c3 [file] [log] [blame]
Pirama Arumuga Nainara4cf3ee2015-05-20 13:03:23 -07001//===-- lib/truncdfhf2.c - double -> half conversion --------------*- C -*-===//
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#define SRC_DOUBLE
11#define DST_HALF
12#include "fp_trunc_impl.inc"
13
Pirama Arumuga Nainar799172d2016-03-03 15:50:30 -080014ARM_EABI_FNALIAS(d2h, truncdfhf2)
15
Pirama Arumuga Nainara4cf3ee2015-05-20 13:03:23 -070016COMPILER_RT_ABI uint16_t __truncdfhf2(double a) {
17 return __truncXfYf2__(a);
18}