1 //===-- lib/extendhfsf2.c - half -> single conversion -------------*- C -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
13 #include "fp_extend_impl.inc"
15 ARM_EABI_FNALIAS(h2f, extendhfsf2)
17 // Use a forwarding definition and noinline to implement a poor man's alias,
18 // as there isn't a good cross-platform way of defining one.
19 COMPILER_RT_ABI NOINLINE float __extendhfsf2(uint16_t a) {
20 return __extendXfYf2__(a);
23 COMPILER_RT_ABI float __gnu_h2f_ieee(uint16_t a) {
24 return __extendhfsf2(a);