xref: /freebsd/contrib/llvm-project/compiler-rt/lib/builtins/addtf3.c (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1 //===-- lib/addtf3.c - Quad-precision addition --------------------*- 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 addition.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #define QUAD_PRECISION
14 #include "fp_lib.h"
15 
16 #if defined(CRT_HAS_TF_MODE)
17 #include "fp_add_impl.inc"
18 
19 COMPILER_RT_ABI fp_t __addtf3(fp_t a, fp_t b) {
20   return __addXf3__(a, b);
21 }
22 
23 #endif
24