xref: /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/extendhfdf2.c (revision 700637cbb5e582861067a11aaca4d053546871d2)
1*700637cbSDimitry Andric //===-- lib/extendhfdf2.c - half -> single conversion -------------*- C -*-===//
2*700637cbSDimitry Andric //
3*700637cbSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*700637cbSDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*700637cbSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*700637cbSDimitry Andric //
7*700637cbSDimitry Andric //===----------------------------------------------------------------------===//
8*700637cbSDimitry Andric 
9*700637cbSDimitry Andric #define SRC_HALF
10*700637cbSDimitry Andric #define DST_DOUBLE
11*700637cbSDimitry Andric #include "fp_extend_impl.inc"
12*700637cbSDimitry Andric 
__extendhfdf2(src_t a)13*700637cbSDimitry Andric COMPILER_RT_ABI NOINLINE dst_t __extendhfdf2(src_t a) {
14*700637cbSDimitry Andric   return __extendXfYf2__(a);
15*700637cbSDimitry Andric }
16