xref: /freebsd-src/contrib/llvm-project/compiler-rt/lib/builtins/extendbfsf2.c (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1*0fca6ea1SDimitry Andric //===-- lib/extendbfsf2.c - bfloat -> single conversion -----------*- C -*-===//
2*0fca6ea1SDimitry Andric //
3*0fca6ea1SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*0fca6ea1SDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5*0fca6ea1SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*0fca6ea1SDimitry Andric //
7*0fca6ea1SDimitry Andric //===----------------------------------------------------------------------===//
8*0fca6ea1SDimitry Andric 
9*0fca6ea1SDimitry Andric #define SRC_BFLOAT16
10*0fca6ea1SDimitry Andric #define DST_SINGLE
11*0fca6ea1SDimitry Andric #include "fp_extend_impl.inc"
12*0fca6ea1SDimitry Andric 
13*0fca6ea1SDimitry Andric COMPILER_RT_ABI float __extendbfsf2(src_t a) { return __extendXfYf2__(a); }
14