xref: /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/truncsfbf2.c (revision 02e9120893770924227138ba49df1edb3896112a)
1 //===-- lib/truncsfbf2.c - single -> bfloat conversion ------------*- C -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #define SRC_SINGLE
10 #define DST_BFLOAT
11 #include "fp_trunc_impl.inc"
12 
13 COMPILER_RT_ABI dst_t __truncsfbf2(float a) { return __truncXfYf2__(a); }
14