]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/builtins/extendsfdf2.c
MFV r323913: 8600 ZFS channel programs - snapshot
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / builtins / extendsfdf2.c
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
15 COMPILER_RT_ABI double __extendsfdf2(float a) {
16     return __extendXfYf2__(a);
17 }
18
19 #if defined(__ARM_EABI__)
20 AEABI_RTABI double __aeabi_f2d(float a) {
21   return __extendsfdf2(a);
22 }
23 #endif
24