2010-07-02 01:58:24 +08:00
|
|
|
//===-- lib/extendsfdf2.c - single -> double conversion -----------*- C -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2010-11-17 06:13:33 +08:00
|
|
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
|
|
|
// Source Licenses. See LICENSE.TXT for details.
|
2010-07-02 01:58:24 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2011-04-20 01:51:24 +08:00
|
|
|
|
2014-05-29 08:54:26 +08:00
|
|
|
#define SRC_SINGLE
|
|
|
|
#define DST_DOUBLE
|
|
|
|
#include "fp_extend_impl.inc"
|
2010-07-01 23:52:42 +08:00
|
|
|
|
2014-05-29 08:54:26 +08:00
|
|
|
COMPILER_RT_ABI double __extendsfdf2(float a) {
|
|
|
|
return __extendXfYf2__(a);
|
2010-07-01 23:52:42 +08:00
|
|
|
}
|
2017-05-17 00:41:37 +08:00
|
|
|
|
|
|
|
#if defined(__ARM_EABI__)
|
|
|
|
AEABI_RTABI double __aeabi_f2d(float a) {
|
|
|
|
return __extendsfdf2(a);
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|