xref: /openbsd-src/gnu/llvm/compiler-rt/lib/builtins/truncdfbf2.c (revision 810390e339a5425391477d5d41c78d7cab2424ac)
1*810390e3Srobert //===-- lib/truncdfbf2.c - double -> bfloat conversion ------------*- C -*-===//
2*810390e3Srobert //
3*810390e3Srobert // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*810390e3Srobert // See https://llvm.org/LICENSE.txt for license information.
5*810390e3Srobert // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6*810390e3Srobert //
7*810390e3Srobert //===----------------------------------------------------------------------===//
8*810390e3Srobert 
9*810390e3Srobert #define SRC_DOUBLE
10*810390e3Srobert #define DST_BFLOAT
11*810390e3Srobert #include "fp_trunc_impl.inc"
12*810390e3Srobert 
__truncdfbf2(double a)13*810390e3Srobert COMPILER_RT_ABI dst_t __truncdfbf2(double a) { return __truncXfYf2__(a); }
14