1 //===-- lib/truncxfbf2.c - long double -> bfloat conversion -------*- C -*-===//
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
7 //===----------------------------------------------------------------------===//
9 #if defined(CRT_HAS_TF_MODE) && __LDBL_MANT_DIG__ == 64 && defined(__x86_64__)
12 #include "fp_trunc_impl.inc"
14 COMPILER_RT_ABI dst_t
__truncxfbf2(long double a
) { return __truncXfYf2__(a
); }
18 // Have at least one declaration to suppress warnings.
19 enum Unused
{ ReallyUnused
};