xref: /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/multf3.c (revision 725a9f47324d42037db93c27ceb40d4956872f3e)
1 //===-- lib/multf3.c - Quad-precision multiplication --------------*- 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 // This file implements quad-precision soft-float multiplication
10 // with the IEEE-754 default rounding (to nearest, ties to even).
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #define QUAD_PRECISION
15 #include "fp_lib.h"
16 
17 #if defined(CRT_HAS_TF_MODE)
18 #include "fp_mul_impl.inc"
19 
20 COMPILER_RT_ABI fp_t __multf3(fp_t a, fp_t b) { return __mulXf3__(a, b); }
21 
22 #endif
23