1*0a6a1f1dSLionel Sambuc //===-- lib/truncdfsf2.c - double -> single conversion ------------*- C -*-===// 2*0a6a1f1dSLionel Sambuc // 3*0a6a1f1dSLionel Sambuc // The LLVM Compiler Infrastructure 4*0a6a1f1dSLionel Sambuc // 5*0a6a1f1dSLionel Sambuc // This file is dual licensed under the MIT and the University of Illinois Open 6*0a6a1f1dSLionel Sambuc // Source Licenses. See LICENSE.TXT for details. 7*0a6a1f1dSLionel Sambuc // 8*0a6a1f1dSLionel Sambuc //===----------------------------------------------------------------------===// 9*0a6a1f1dSLionel Sambuc 10*0a6a1f1dSLionel Sambuc #define SRC_DOUBLE 11*0a6a1f1dSLionel Sambuc #define DST_SINGLE 12*0a6a1f1dSLionel Sambuc #include "fp_trunc_impl.inc" 13*0a6a1f1dSLionel Sambuc ARM_EABI_FNALIAS(d2f,truncdfsf2)14*0a6a1f1dSLionel SambucARM_EABI_FNALIAS(d2f, truncdfsf2) 15*0a6a1f1dSLionel Sambuc 16*0a6a1f1dSLionel Sambuc COMPILER_RT_ABI float __truncdfsf2(double a) { 17*0a6a1f1dSLionel Sambuc return __truncXfYf2__(a); 18*0a6a1f1dSLionel Sambuc } 19