]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/compiler-rt/lib/builtins/addtf3.c
Merge ^/head r357408 through r357661.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / compiler-rt / lib / builtins / addtf3.c
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_128BIT) && defined(CRT_LDBL_128BIT)
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