summaryrefslogtreecommitdiff
path: root/lib/builtins/extendsfdf2.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/builtins/extendsfdf2.c')
-rw-r--r--lib/builtins/extendsfdf2.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/builtins/extendsfdf2.c b/lib/builtins/extendsfdf2.c
new file mode 100644
index 0000000000000..7a267c2f47ad8
--- /dev/null
+++ b/lib/builtins/extendsfdf2.c
@@ -0,0 +1,19 @@
+//===-- lib/extendsfdf2.c - single -> double conversion -----------*- C -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is dual licensed under the MIT and the University of Illinois Open
+// Source Licenses. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+
+#define SRC_SINGLE
+#define DST_DOUBLE
+#include "fp_extend_impl.inc"
+
+ARM_EABI_FNALIAS(f2d, extendsfdf2)
+
+COMPILER_RT_ABI double __extendsfdf2(float a) {
+ return __extendXfYf2__(a);
+}