1*810390e3Srobert //===-- lib/truncsfbf2.c - single -> 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_SINGLE 10*810390e3Srobert #define DST_BFLOAT 11*810390e3Srobert #include "fp_trunc_impl.inc" 12*810390e3Srobert __truncsfbf2(float a)13*810390e3SrobertCOMPILER_RT_ABI dst_t __truncsfbf2(float a) { return __truncXfYf2__(a); } 14