1 //===-- lib/extendsfdf2.c - single -> double 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 11 #define SRC_SINGLE 12 #define DST_DOUBLE 13 #include "fp_extend_impl.inc" 14 __extendsfdf2(float a)15COMPILER_RT_ABI double __extendsfdf2(float a) { 16 return __extendXfYf2__(a); 17 } 18 19 #if defined(__ARM_EABI__) 20 #if defined(COMPILER_RT_ARMHF_TARGET) __aeabi_f2d(float a)21AEABI_RTABI double __aeabi_f2d(float a) { 22 return __extendsfdf2(a); 23 } 24 #else 25 AEABI_RTABI double __aeabi_f2d(float a) COMPILER_RT_ALIAS(__extendsfdf2); 26 #endif 27 #endif 28