Pirama Arumuga Nainar | a4cf3ee | 2015-05-20 13:03:23 -0700 | [diff] [blame^] | 1 | //===-- lib/extendhfsf2.c - half -> single 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_HALF |
| 12 | #define DST_SINGLE |
| 13 | #include "fp_extend_impl.inc" |
| 14 | |
| 15 | COMPILER_RT_ABI float __extendhfsf2(uint16_t a) { |
| 16 | return __extendXfYf2__(a); |
| 17 | } |
| 18 | |
| 19 | COMPILER_RT_ABI float __gnu_h2f_ieee(uint16_t a) { |
| 20 | return __extendXfYf2__(a); |
| 21 | } |