]> git.proxmox.com Git - rustc.git/blame - src/libcompiler_builtins/compiler-rt/lib/builtins/extendsfdf2.c
New upstream version 1.25.0+dfsg1
[rustc.git] / src / libcompiler_builtins / compiler-rt / lib / builtins / extendsfdf2.c
CommitLineData
1a4d82fc
JJ
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//
1a4d82fc 10
92a42be0
SL
11#define SRC_SINGLE
12#define DST_DOUBLE
13#include "fp_extend_impl.inc"
1a4d82fc 14
92a42be0
SL
15COMPILER_RT_ABI double __extendsfdf2(float a) {
16 return __extendXfYf2__(a);
1a4d82fc 17}
2c00a5a8
XL
18
19#if defined(__ARM_EABI__)
20#if defined(COMPILER_RT_ARMHF_TARGET)
21AEABI_RTABI double __aeabi_f2d(float a) {
22 return __extendsfdf2(a);
23}
24#else
25AEABI_RTABI double __aeabi_f2d(float a) COMPILER_RT_ALIAS(__extendsfdf2);
26#endif
27#endif