[clang] Handle __declspec() attributes in using
[llvm-project.git] / compiler-rt / lib / builtins / addtf3.c
blob86e4f4cfc3fc6356ef49d660225eb37690c7f911
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.
11 //===----------------------------------------------------------------------===//
13 #define QUAD_PRECISION
14 #include "fp_lib.h"
16 #if defined(CRT_HAS_128BIT) && defined(CRT_LDBL_128BIT)
17 #include "fp_add_impl.inc"
19 COMPILER_RT_ABI fp_t __addtf3(fp_t a, fp_t b) {
20 return __addXf3__(a, b);
23 #endif